Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Allows access to programmatic constructs in a source code file.
The CodeModel type exposes the following members.
Methods
Name
Description
Creates a new attribute code construct and inserts the code in the correct location.
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.
Creates a new interface code construct and inserts the code in the correct location.
Creates a new namespace 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 code element based on a fully qualified name.
Returns a CodeTypeRef object based on the data type indicator passed.
Returns whether a specified name is a valid programmatic identifier for the current language.
Removes the specified code element from the source file.
Top
Properties
Name
Description
Gets a collection of CodeElements.
Gets the top-level extensibility object.
Gets whether the current language is case-sensitive.
Gets the programming language used to author the code.
Gets the immediate parent object of a CodeModel object.
Top