FileCodeModel2 Members

Include Protected Members
Include Inherited Members

Allows access to programmatic constructs in a source file.

The FileCodeModel2 type exposes the following members.

Methods

 

Name

Description

Public method

AddAttribute

Overloaded.

Public method

AddClass

Overloaded.

Public method

AddDelegate

Overloaded.

Public method

AddEnum

Overloaded.

Public method

AddFunction

Overloaded.

Public method

AddImport

Creates a new code import statement and inserts the code in the correct location.

Public method

AddInterface

Overloaded.

Public method

AddNamespace

Overloaded.

Public method

AddStruct

Overloaded.

Public method

AddVariable

Overloaded.

Public method

BeginBatch

Suspends the occurrence of edit events until all changes to the code model have been applied.

Public method

CodeElementFromPoint

Overloaded.

Public method

ElementFromID

Used to receive specific CodeElement.

Public method

EndBatch

Enables the suspended events to occur after the batch edit of the code model.

Public method

Remove

Overloaded.

Public method

Synchronize

Ensures that all current code model events have been raised and the model has finished being generated.

Top

Properties

 

Name

Description

Public property

CodeElements

Overloaded.

Public property

DTE

Overloaded.

Public property

IsBatchOpen

Gets a value indicating whether a batch code model updates is currently open.

Public property

Language

Overloaded.

Public property

Parent

Overloaded.

Public property

ParseStatus

Used when the code model is built to determine whether the parse operation completed or encountered an error.

Top

See Also

Reference

FileCodeModel2 Interface

EnvDTE80 Namespace