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!

GuidAttribute Class

Used to supply the GUID of a class, interface or an entire type library. The string passed to the attribute must be a format that is an acceptable constructor argument for the type Guid. To avoid conflicts with the type Guid the long name "GuidAttribute" should be used explicitly.

Object
   Attribute
      GuidAttribute

[Visual Basic]
Public Class GuidAttribute
   Inherits Attribute
[C#]
public class GuidAttribute : Attribute
[C++]
public __gc class GuidAttribute : public Attribute
[JScript]
public class GuidAttribute extends Attribute

Remarks

Can be used to attribute assemblies, classes, interfaces, structures, enumerations, or delegates.

For example:

[C#]

[GuidAttribute("9ED54F84-A89D-4fcd-A854-44251E925F09")]

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

GuidAttribute Members | System.Runtime.InteropServices Namespace