Name

DispIdAttribute

Synopsis

Specifies a member’s DispId when it is exposed to COM.

public sealed class DispIdAttribute : Attribute {
// Public Constructors
   public DispIdAttribute(int dispId);
// Public Instance Properties
   public int Value{get; }
}

Hierarchy

System.Object System.Attribute DispIdAttribute

Valid On

Method, Property, Field, Event

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.