VCCodeUnion Members
Include Protected Members
Include Inherited Members
An object representing a union code element in the source code of a solution.
The VCCodeUnion 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 enumeration code construct and inserts the code in the correct location.
Creates a new function 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 code element.
Removes an object from the list of bases.
Removes a member code construct.
Removes a parameter from a template definition.
Validates that the proposed name is a valid C++ name for the kind given in the context of the parent object.
Top
Properties
Name
Description
Sets or gets the access attributes of this item.
Gets a collection of all of the attributes for the 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 object.
Gets 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 formatted name to be displayed to users.
Sets or gets 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.
Returns the end point of the object.
Gets a collection of enumerations 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 associated with this VCCodeUnion.
Gets the full path and name of the object's file.
Gets a collection of functions for the object.
Gets the capabilities of the code model.
Gets 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 whether a code element has been injected by an attribute.
Gets whether the file containing the object is read-only.
Gets whether the object is a template.
Gets whether 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 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 associated with the given 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.
Gets 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.
Top