Share via


CodeEvent Members

Include Protected Members
Include Inherited Members

Models a code event element.

The CodeEvent type exposes the following members.

Methods

 

Name

Description

Public method

AddAttribute

Creates a new attribute code construct and inserts the code in the correct location.

Public method

GetEndPoint

Gets a TextPoint object that marks the end of the code event element.

Public method

GetStartPoint

Gets a TextPoint object that marks the beginning of the code event element.

Top

Properties

 

Name

Description

Public property

Access

Gets or sets a value that determines how a code event element may be accessed by other code.

Public property

Adder

Gets or sets the event listeners.

Public property

Attributes

Gets a CodeElements collection of attributes for this code event element.

Public property

Children

Gets a collection of objects contained within this CodeEvent.

Public property

Collection

Gets a CodeElements collection.

Public property

Comment

Gets or sets a header comment associated with the code event element.

Public property

DocComment

Gets or sets a documentation comment associated with the code event element.

Public property

DTE

Gets the top-level extensibility object.

Public property

EndPoint

Gets the location in the source file marked as an end of the code event element.

Public property

Extender

Gets the requested Extender if it is available for this CodeElement object.

Public property

ExtenderCATID

Gets the Extender category ID (CATID) for the object.

Public property

ExtenderNames

Gets a list of available Extenders for the object.

Public property

FullName

Gets a fully-qualified name of the specified CodeEvent object.

Public property

InfoLocation

Gets the capabilities of the code model.

Public property

IsCodeType

Gets whether the CodeEvent is a CodeType.

Public property

IsPropertyStyleEvent

Gets a value indicating whether the event has separate methods for adding/ removing events and throwing exceptions.

Public property

IsShared

Gets of sets the shared (static) status of the event.

Public property

Kind

Gets the type of the code element.

Public property

Language

Gets the programming language used to author the code.

Public property

Name

Gets or sets the name of the CodeEvent object.

Public property

OverrideKind

Gets of sets the override modifiers on a code event.

Public property

Parent

Gets the immediate parent object of the CodeEvent object.

Public property

ProjectItem

Gets the ProjectItem object associated with the CodeEvent object.

Public property

Prototype

Gets a string containing the description of a code event element.

Public property

Remover

Gets or sets the event listeners.

Public property

StartPoint

Gets the location in the source file marked as a beginning of the code event element.

Public property

Thrower

Gets or sets CodeFunction object.

Public property

Type

Gets or sets the type of the CodeTypeReference object.

Top

See Also

Reference

CodeEvent Interface

EnvDTE80 Namespace