CodeClass Members
Include Protected Members
Include Inherited Members
Represents a class in source code.
The CodeClass 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.
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.
Creates a new variable code construct and inserts the code in the correct location.
Returns a TextPoint object that marks the end of the code element definition.
Returns a TextPoint object that defines the beginning of the code element definition.
Removes an object from the list of bases.
Removes an interface from the list of implemented interfaces.
Removes a member code construct.
Top
Properties
Name
Description
Sets or gets the access attributes of the CodeClass object.
Gets a collection of all of the attributes for the parent object.
Gets a collection of classes from which this item derives.
Gets a collection of CodeElements contained within the CodeClass object.
Gets a CodeElements collection.
Gets or sets the comment associated with the CodeClass object.
Gets a collection of objects derived from this CodeClass object. Not implemented in Visual C# and Visual J#.
Sets or gets the document comment for the current code model element.
Gets the top-level extensibility object.
Gets the text point that is the location of the end of the code item.
Gets the requested Extender object. Not implemented in Visual C# and Visual J#.
Returns the Extender category ID (CATID) for the object. Not implemented in Visual C# and Visual J#.
Gets a list of available Extenders for the CodeClass object. Not implemented in Visual C# and Visual J#.
Gets the full path and name of the CodeClass object's source file.
Gets a collection of interfaces implemented by a CodeClass object.
Gets the capabilities of the code model.
Sets or gets whether or not an item is declared as abstract.
Gets whether a CodeType object can be obtained from this object.
Returns whether a CodeClass object has another object as a base.
Returns an enumeration indicating the type of object.
Gets the programming language used to author the code.
Gets a collection of items contained by this element.
Sets or gets the name of the CodeClass object.
Gets an object defining the parent namespace.
Gets the immediate parent object of a CodeClass object.
Gets the ProjectItem associated with the given object.
Gets a TextPoint that defines the beginning of the code item.
Top