ComClassAttribute.InterfaceID Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets an interface ID used to uniquely identify an interface.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public string InterfaceID { get; }

Property Value

Type: System.String

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

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

.NET Framework
Available since 1.1
Return to top