August 2003
Intermediate to advanced
928 pages
32h 1m
English
GuidAttribute
This attribute is used to
specify
the GUID of
assemblies, modules, or types you expose to COM. If you
don’t use this attribute to specify a GUID, one is
automatically generated. When you apply this attribute, use its full
name ([GuidAttribute( )] rather than
[Guid( )]) to avoid clashes with the
System.Guid type.
public sealed class GuidAttribute : Attribute {
// Public Constructors
public GuidAttribute(string guid);
// Public Instance Properties
public string Value{get; }
}
System.Object
→
System.Attribute
→
GuidAttribute
Assembly, Class, Struct, Enum, Interface, Delegate