Guid
attributeThe 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.