Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CoClassAttribute Constructor
Collapse the table of content
Expand the table of content

CoClassAttribute Constructor

Initializes new instance of the CoClassAttribute with the class identifier of the original coclass.

[Visual Basic]
Public Sub New( _
   ByVal coClass As Type _
)
[C#]
public CoClassAttribute(
   Type coClass
);
[C++]
public: CoClassAttribute(
   Type* coClass
);
[JScript]
public function CoClassAttribute(
   coClass : Type
);

Parameters

coClass
A Type that contains the class identifier of the original coclass.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CoClassAttribute Class | CoClassAttribute Members | System.Runtime.InteropServices Namespace

Show:
© 2015 Microsoft