Name

DispIdAttribute

Synopsis

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

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

Hierarchy

System.ObjectSystem.AttributeDispIdAttribute

Valid On

Method, Property, Field, Event

Get C# in a Nutshell 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.