Specifies a globally unique identifier (GUID) for a class or an interface. This information is primarily useful for interoperability with COM.
[guid(guid)]
Class, interface, enum, and delegate declarations.
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).
[guid("34C134A9-5B50-49f1-9724-EFF39517A642")] interface ISpellCheck { bool CheckSpelling(string word, out string[] suggestedSpellings); }