FileCodeModel2 Methods

 

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

NameDescription
System_CAPS_pubmethodAddAttribute(String^, String^, Object^)

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

System_CAPS_pubmethodAddClass(String^, Object^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddDelegate(String^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddEnum(String^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddFunction(String^, vsCMFunction, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddImport(String^, Object^, String^)

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

System_CAPS_pubmethodAddInterface(String^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddNamespace(String^, Object^)

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

System_CAPS_pubmethodAddStruct(String^, Object^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodAddVariable(String^, Object^, Object^, vsCMAccess)

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

System_CAPS_pubmethodBeginBatch()

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

System_CAPS_pubmethodCodeElementFromPoint(TextPoint^, vsCMElement)

Returns a code element at a specific location in a source file.

System_CAPS_pubmethodElementFromID(String^)

Used to receive specific CodeElement.

System_CAPS_pubmethodEndBatch()

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

System_CAPS_pubmethodRemove(Object^)

Removes the specified code element from the source file.

System_CAPS_pubmethodSynchronize()

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

Return to top
Show: