Поделиться через


VCCodeEvent - члены

Включить защищенные члены
Включить унаследованные члены

An object representing an event code element (declared with the __event keyword).

Универсальный тип VCCodeEvent предоставляет следующий члены.

Методы

  Имя Описание
Открытый метод AddAttribute Creates a new attribute code construct and inserts the code in the correct location.
Открытый метод GetEndPoint Gets a TextPoint object that marks the end of the code element definition.
Открытый метод GetStartPoint Gets a TextPoint object that defines the beginning of the code element definition.
Открытый метод IsSelf Determines if the specified code element is the same as another code element.

В начало страницы

Свойства

  Имя Описание
Открытое свойство Attributes Gets a collection of all of the attributes for the parent object.
Открытое свойство Children Gets a collection of objects contained within this code construct.
Открытое свойство CodeModel Gets the VCCodeModel for the project.
Открытое свойство Collection Gets the collection containing the object supporting this property or contained within this code construct.
Открытое свойство Comment Gets or sets the comment associated with the code element.
Открытое свойство DeclarationText Gets or sets the declaration of the parent object.
Открытое свойство DisplayName Gets the full name of the parent object.
Открытое свойство DTE Gets the top-level extensibility object.
Открытое свойство EndPoint Gets the edit point that is the location of the end of the code item.
Открытое свойство EndPointOf Gets the end point of the parent object.
Открытое свойство Extender Gets the requested Extender object if it is available for this object.
Открытое свойство ExtenderCATID Gets the Extender category ID (CATID) for the object.
Открытое свойство ExtenderNames Gets a list of available Extenders for the object.
Открытое свойство File Gets the file in which the object is declared.
Открытое свойство FullName Gets the full path and name of the object's file.
Открытое свойство Functions Gets the collection of implemented child methods of an event (e.g. ‘Add’, ‘Throw’, ‘Remove’, ‘Raise’).
Открытое свойство InfoLocation Gets the capabilities of the code model.
Открытое свойство IsCaseSensitive Gets a value indicating if a code element is case-sensitive.
Открытое свойство IsCodeType Gets a value indicating whether a CodeType object can be obtained from this object.
Открытое свойство IsInjected Gets a value indicating whether a code element has been injected by an attribute or macro expansion.
Открытое свойство IsReadOnly Gets a value indicating whether the file containing the object is read-only.
Открытое свойство IsShared IsShared is true if the event was declared with the static keyword.
Открытое свойство IsVirtual IsVirtual is true if the event was declared with the virtual keyword.
Открытое свойство IsZombie Gets a value indicating whether the object exists.
Открытое свойство Kind Gets an enumeration indicating the type of object.
Открытое свойство Language Gets the programming language used to author the code.
Открытое свойство Location Gets the location of the object declaration.
Открытое свойство Name Gets or sets the name of the object.
Открытое свойство Namespace Gets an object defining the namespace.
Открытое свойство Parent Gets the immediate parent object of a given object.
Открытое свойство Picture Gets a picture automation object to be used as an icon in the user interface.
Открытое свойство Project Gets the Project object associated with the object.
Открытое свойство ProjectItem Gets the ProjectItem object associated with the given object.
Открытое свойство StartPoint Gets a TextPoint object that defines the beginning of the code item.
Открытое свойство StartPointOf Gets the start point of the parent object.
Открытое свойство TypeString Gets or sets the type of the object using a string representation of the type.

В начало страницы

См. также

Ссылки

VCCodeEvent Интерфейс

Microsoft.VisualStudio.VCCodeModel - пространство имен