Name
GuidAttribute
Synopsis
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 NotInheritable Class GuidAttribute : Inherits Attribute ' Public Constructors Public Sub New( ByVal guid As String) ' Public Instance Properties Public ReadOnly Property Value As String End Class
Hierarchy
System.Object→System.Attribute→ GuidAttribute
Valid On
Assembly, Class, Struct, Enum, Interface, Delegate
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.