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!

20.1.7 The Guid attribute

The Guid attribute is used to specify a globally unique identifier (GUID) for a class or an interface. This information is primarily useful for interoperability between the NGWS runtime and COM.

[AttributeUsage(AttributeTargets.Class
               | AttributeTargets.Interface
               | AttributeTargets.Enum
               | AttributeTargets.Delegate
               | AttributeTargets.Struct)]
public class GuidAttribute: System.Attribute
{
   public GuidAttribute(string uuid) {…}
   public Guid Value { get {…} }
}

The format of the positional string argument is verified at compile-time. It is an error to specify a string argument that is not a syntactically valid GUID.