Specifies the COM dispatch ID of a method, field, or property.
[dispid(val)]
Method, field, and property declarations.
dispid is a single-use attribute. dispid is an alias for System.InterOp.DispIdAttribute.
This attribute is used for COM interoperability and is typically placed on interface members.
interface ISpellCheck { [dispid(1001)] bool CheckSpelling(string word, out string[] suggestedSpellings); }