VCCodeStruct Members
Include Protected Members
Include Inherited Members
An object representing a structure code element in the source code of a solution.
The VCCodeStruct type exposes the following members.
Methods
Name
Description
Creates a new attribute code construct and inserts the code in the correct location.
Adds an item to the list of inherited objects.
Creates a new class code construct and inserts the code in the correct location.
Creates a new delegate code construct and inserts the code in the correct location.
Creates a new enumeration code construct and inserts the code in the correct location.
Infrastructure. Microsoft Internal Use Only.
Creates a new function code construct and inserts the code in the correct location.
Adds an interface to the list of inherited objects.
Creates a new property code construct and inserts the code in the correct location.
Creates a new structure code construct and inserts the code in the correct location.
Adds a parameter to a template definition.
Adds a typedef statement to the object.
Adds a union statement to the object.
Creates a new variable code construct and inserts the code in the correct location.
Gets a TextPoint object that marks the end of the code element definition.
Gets a TextPoint object that defines the beginning of the code element definition.
Determines if the specified code element is the same as the parent code element.
Removes an object from the list of bases.
Removes an interface from the list of implemented interfaces.
Removes a member code construct.
Removes a parameter from a template definition.
Validates that the proposed name is a valid Visual C++ name for the kind given in the context of the parent object.
Top
Properties
Name
Description
Defines the access attributes of this item.
Gets a collection of all of the attributes for the parent object.
Gets a collection of classes from which this item derives.
Gets or sets the body text of the object.
Gets a collection of objects contained within this code construct.
Gets a collection of classes for the parent object.
Returns the VCCodeModel object for the project.
Gets the collection containing the object supporting this property or contained within this code construct.
Gets or sets the comment associated with the code element.
Gets or sets the declaration of the object.
Gets a collection of objects derived from this object.
Gets the full name of the object.
Gets or sets the document comment for the current code model element.
Gets the top-level extensibility object.
Gets the edit point that is the location of the end of the code item.
Gets the end point of the object.
Gets a collection of enumerations for the object.
Gets a collection of events for the object.
Returns the requested Extender object if it is available for this object.
Gets the Extender category ID (CATID) for the object.
Gets a list of available Extenders for the object.
Gets the file where this object is defined.
Gets the full path and name of the object's file.
Gets a collection of functions for the object.
Gets a collection of interfaces implemented by this object.
Describes the capabilities of the code model.
Gets or sets a value indicating whether or not an item is declared as abstract.
Gets a value indicating if a code element is case-sensitive.
Gets a value indicating whether a CodeType object can be obtained from this object.
Gets a value indicating whether an object has another object as a base.
Gets if a code element has been injected by an attribute or macro expansion.
Sets or gets if the object is managed.
Gets if the file containing the object is read-only.
Sets or gets if the __sealed keyword is applied to the parent object.
Gets if the object is a template.
Sets or gets if the __value keyword is applied to the object.
Gets if the object exists.
Gets an enumeration indicating the type of object.
Gets the programming language used to author the code.
Returns the location of the object declaration.
Gets a collection of items contained by this element.
Gets or sets the name of the object.
Gets an object defining the parent namespace.
Gets the immediate parent object of a given object.
Gets a picture automation object to be used as an icon in the user interface.
Gets the Project associated with the object.
Gets the ProjectItem object associated with the given object.
Gets the collection of properties for the object.
Not currently implemented.
Gets a TextPoint object that defines the beginning of the code item.
Gets the start point of the object.
Gets the collection of structure elements for the object.
A collection of template parameters.
Infrastructure. Microsoft Internal Use Only.
Gets the collection of Typedef elements for the object.
Gets the collection of union elements for the object.
Gets the collection of variables for the object.
Top