CodeElement Members

Include Protected Members
Include Inherited Members

Represents a code element or construct in a source file.

The CodeElement type exposes the following members.

Methods

 

Name

Description

Public method

GetEndPoint

Returns a TextPoint object that marks the end of the code element definition.

Public method

GetStartPoint

Returns a TextPoint object that marks the beginning of the code element definition.

Top

Properties

 

Name

Description

Public property

Children

Returns a collection of objects contained within this CodeElement.

Public property

Collection

Gets the CodeElements collection containing the CodeElement that supports this property.

Public property

DTE

Gets the top-level extensibility object.

Public property

EndPoint

Gets the text point that is the location of the end of the code item.

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 code element.

Public property

InfoLocation

Gets the capabilities of the code model.

Public property

IsCodeType

Indicates whether or not a CodeType object can be obtained from the CodeElement object.

Public property

Kind

Gets an enumeration that defines the type of object.

Public property

Language

Gets the programming language that is used to author the code.

Public property

Name

Sets or gets the name of the object.

Public property

ProjectItem

Gets the ProjectItem object associated with the CodeElement object.

Public property

StartPoint

Gets a TextPoint object that defines the beginning of the code item.

Top

See Also

Reference

CodeElement Interface

EnvDTE Namespace