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!

guid

Specifies a globally unique identifier (GUID) for a class or an interface. This information is primarily useful for interoperability with COM.

[guid(guid)]

Parameters

guid
A string specifying the GUID.

Applies To

Class, interface, enum, and delegate declarations.

Remarks

guid is an alias for System.InterOp.GuidAttribute.

The guid attribute is a single-use attribute and takes one parameter, a GUID specified as a string of the form "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" (where each 'X' is a hexadecimal digit).

Example

[guid("34C134A9-5B50-49f1-9724-EFF39517A642")]
interface ISpellCheck {
   bool CheckSpelling(string word, out string[] suggestedSpellings);
}

See Also

C# Attributes