共用方式為


ComClassAttribute Class Members 

The ComClassAttribute Class provides properties that identify the object and indicate if the name shadows another member.

Properties

ClassID Property

Contains a class ID used to uniquely identify the class.

EventID Property

Contains an event ID used to uniquely identify the event.

InterfaceID Property

Contains an interface ID used to uniquely identify the interface.

InterfaceShadows Property

Indicates that a generated COM interface name shadows another member of the class or base class.

Constructor

ComClassAttribute Constructor

Initializes a new instance of the ComClassAttribute class.

Requirements

Namespace: Microsoft.VisualBasic

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

See Also

Tasks

Walkthrough: Creating COM Objects with Visual Basic 2005

Reference

VBFixedArrayAttribute Class
VBFixedStringAttribute Class
ComClassAttribute Class
Shadows
System.Runtime.InteropServices

Concepts

Applying Interop Attributes
Attributes Used in Visual Basic

Other Resources

Attributes in Visual Basic