DispId
attributeThe DispId
attribute is used to specify an OLE Automation DISPID. (A DISPID is an integral value that identifies a member in a dispinterface.)
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property)] public class DispIdAttribute: System.Attribute { public DispIdAttribute(int value) {…} public int Value { get {…} } }