This documentation is archived and is not being maintained.

ComClassAttribute.ClassID Property

Gets a class ID used to uniquely identify a class.

Public ReadOnly Property ClassID As String

Property Value

Read only. A string that can be used by the compiler to uniquely identify the class when a COM object is created.


The constructor sets this property when the ComClassAttribute is applied to a class.


Namespace: Microsoft.VisualBasic

Class: ComClassAttribute

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)

See Also

Attributes | ComClassAttribute Class | Attributes Used in Visual Basic .NET | System.Runtime.InteropServices Namespace