Partager via


ComClassAttribute.InterfaceID Property 

Gets an interface ID used to uniquely identify an interface.

Public ReadOnly Property InterfaceID As String

Return Value

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.

Remarks

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

Requirements

Namespace: Microsoft.VisualBasic

Class: ComClassAttribute

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

See Also

Reference

ComClassAttribute Class
System.Runtime.InteropServices

Concepts

Attributes Used in Visual Basic

Other Resources

Attributes in Visual Basic