VCFileCodeModel Methods

Include Protected Members
Include Inherited Members

The VCFileCodeModel type exposes the following members.

Methods

  Name Description
Public method AbortTransaction Halts the current transaction.
Public method AddAttribute Creates a new attribute code construct and inserts the code in the correct location.
Public method AddClass Creates a new class code construct and inserts the code in the correct location.
Public method AddDelegate Creates a new delegate code construct and inserts the code in the correct location.
Public method AddEnum Creates a new enumeration code construct and inserts the code in the correct location.
Public method AddFunction Creates a new function code construct and inserts the code in the correct location.
Public method AddIDLImport Adds a new import statement to the .idl file of the VCFileCodeModel object.
Public method AddIDLLibrary Adds a new library statement to the .idl file of the VCFileCodeModel object.
Public method AddImport Adds a #import element to the VCFileCodeModel object.
Public method AddImport_2 Adds a #import element to the VCFileCodeModel object.
Public method AddInclude Adds a #include element to the VCFileCodeModel object.
Public method AddInterface Creates a new interface code construct and inserts the code in the correct location.
Public method AddMacro Adds a #define element to the VCFileCodeModel object.
Public method AddMap Adds a map to the object.
Public method AddNamespace Creates a new namespace code construct and inserts the code in the correct location.
Public method AddStruct Creates a new structure code construct and inserts the code in the correct location.
Public method AddTypedef Adds a typedef statement to the object.
Public method AddUnion Adds a union statement to the object.
Public method AddUsing Adds a #using element to the VCFileCodeModel object.
Public method AddVariable Creates a new variable code construct and inserts the code in the correct location.
Public method BeginBatch Not currently implemented.
Public method CodeElementFromFullName Gets a collection of the specified code elements for the object.
Public method CodeElementFromPoint Gets a code element at a specific location in a source file.
Public method CommitTransaction Commits the current transaction for the object.
Public method ElementFromID Not currently implemented.
Public method EndBatch Not currently implemented.
Public method Remove Removes the specified project from the solution.
Public method RemoveEx Removes the specified project from the solution with an option to delete.
Public method StartTransaction Begins a transaction.
Public method Synchronize Synchronizes all code model objects in the solution with edits made to source files.
Public method ValidateMember Validates that the proposed name is a valid C++ name for the kind given in the context of the parent object.
Public method ValidateMemberName

Top

See Also

Reference

VCFileCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace