VCCodeClass Methods

Include Protected Members
Include Inherited Members

The VCCodeClass 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 AddBase Adds an item to the list of inherited objects.
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 AddEvent Infrastructure. Microsoft Internal Use Only.
Public method AddFunction Creates a new function code construct and inserts the code in the correct location.
Public method AddImplementedInterface Adds an interface to the list of inherited objects.
Public method AddMap Adds a map entry to the parent object.
Public method AddProperty Creates a new property 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 AddTemplateParameter Adds a parameter to a template definition.
Public method AddTypedef Adds a Typedef statement to the parent object.
Public method AddUnion Adds a union statement to the parent object.
Public method AddVariable Creates a new variable code construct and inserts the code in the correct location.
Public method GetEndPoint Returns a TextPoint object that marks the end of the code element definition.
Public method GetStartPoint Returns a TextPoint object that defines the beginning of the code element definition.
Public method IsSelf Determines if the specified code element is the same as the parent code element.
Public method RemoveBase Removes an object from the list of bases.
Public method RemoveInterface Removes an interface from the list of implemented interfaces.
Public method RemoveMember Removes a member code construct.
Public method RemoveTemplateParameter Removes a parameter from a template definition.
Public method ValidateMember Validates that the proposed name is a valid C++ name for the kind given in the context of the parent object.

Top

See Also

Reference

VCCodeClass Interface

Microsoft.VisualStudio.VCCodeModel Namespace