NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

dispid

Specifies the COM dispatch ID of a method, field, or property.

[dispid(val)]

Parameters

val
An int; the dispatch ID.

Applies To

Method, field, and property declarations.

Remarks

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.

Example

interface ISpellCheck {
   [dispid(1001)]
   bool CheckSpelling(string word, out string[] suggestedSpellings);
}

See Also

C# Attributes