ComClassAttribute Attribute

 <  Day Day Up  >  

The ComClassAttribute attribute indicates that a class should be exposed as a COM coclass.

 Public ReadOnly Property ClassID() As String 

The ClassID property is the COM class ID of the class.

 Public ReadOnly Property EventID() As String 

The EventID property is the COM interface ID of the class's COM event interface.

 Public ReadOnly Property InterfaceID() As String 

The InterfaceID property is the COM interface ID of the class's default interface.

 Public Property InterfaceShadows() As Boolean 

The InterfaceShadows property indicates whether the COM interface name shadows another member of the class or base class.

 Public Sub New() Public Sub New(ByVal _ClassID As String) Public Sub New(ByVal _ClassID As String, ByVal _InterfaceID As String) Public Sub New(ByVal _ClassID As String, ByVal _InterfaceID As String, _   ByVal _EventID As String) 

The ComClassAttribute constructor applies an instance of the attribute to a class. If any of the three ID parameters are omitted, a compiler-generated GUID will be used in their place.

 <  Day Day Up  >  


The Visual Basic .NET Programming Language
The Visual Basic .NET Programming Language
ISBN: 0321169514
EAN: 2147483647
Year: 2004
Pages: 173
Authors: Paul Vick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net