Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.CodeDom Namespace

The System.CodeDom namespace contains classes that can be used to represent the elements and structure of a source code document. The classes in this namespace can be used to model the structure of a source code document that can be output as source code in a supported language using the functionality provided by the System.CodeDom.Compiler namespace.

For more information about using the CodeDOM to represent and generate source code, see Dynamic Source Code Generation and Compilation.

For a table that lists the CodeDOM elements by type and function, see the CodeDOM Quick Reference.

  ClassDescription
Public classCodeArgumentReferenceExpression Represents a reference to the value of an argument passed to a method.
Public classCodeArrayCreateExpression Represents an expression that creates an array.
Public classCodeArrayIndexerExpression Represents a reference to an index of an array.
Public classCodeAssignStatement Represents a simple assignment statement.
Public classCodeAttachEventStatement Represents a statement that attaches an event-handler delegate to an event.
Public classCodeAttributeArgument Represents an argument used in a metadata attribute declaration.
Public classCodeAttributeArgumentCollection Represents a collection of CodeAttributeArgument objects.
Public classCodeAttributeDeclaration Represents an attribute declaration.
Public classCodeAttributeDeclarationCollection Represents a collection of CodeAttributeDeclaration objects.
Public classCodeBaseReferenceExpression Represents a reference to the base class.
Public classCodeBinaryOperatorExpression Represents an expression that consists of a binary operation between two expressions.
Public classCodeCastExpression Represents an expression cast to a data type or interface.
Public classCodeCatchClause Represents a catch exception block of a try/catch statement.
Public classCodeCatchClauseCollection Represents a collection of CodeCatchClause objects.
Public classCodeChecksumPragma Represents a code checksum pragma code entity.
Public classCodeComment Represents a comment.
Public classCodeCommentStatement Represents a statement consisting of a single comment.
Public classCodeCommentStatementCollection Represents a collection of CodeCommentStatement objects.
Public classCodeCompileUnit Provides a container for a CodeDOM program graph.
Public classCodeConditionStatement Represents a conditional branch statement, typically represented as an if statement.
Public classCodeConstructor Represents a declaration for an instance constructor of a type.
Public classCodeDefaultValueExpression Represents a reference to a default value.
Public classCodeDelegateCreateExpression Represents an expression that creates a delegate.
Public classCodeDelegateInvokeExpression Represents an expression that raises an event.
Public classCodeDirectionExpression Represents an expression used as a method invoke parameter along with a reference direction indicator.
Public classCodeDirective Serves as the base class for code directive classes.
Public classCodeDirectiveCollection Represents a collection of CodeDirective objects.
Public classCodeEntryPointMethod Represents the entry point method of an executable.
Public classCodeEventReferenceExpression Represents a reference to an event.
Public classCodeExpression Represents a code expression. This is a base class for other code expression objects that is never instantiated.
Public classCodeExpressionCollection Represents a collection of CodeExpression objects.
Public classCodeExpressionStatement Represents a statement that consists of a single expression.
Public classCodeFieldReferenceExpression Represents a reference to a field.
Public classCodeGotoStatement Represents a goto statement.
Public classCodeIndexerExpression Represents a reference to an indexer property of an object.
Public classCodeIterationStatement Represents a for statement, or a loop through a block of statements, using a test expression as a condition for continuing to loop.
Public classCodeLabeledStatement Represents a labeled statement or a stand-alone label.
Public classCodeLinePragma Represents a specific location within a specific file.
Public classCodeMemberEvent Represents a declaration for an event of a type.
Public classCodeMemberField Represents a declaration for a field of a type.
Public classCodeMemberMethod Represents a declaration for a method of a type.
Public classCodeMemberProperty Represents a declaration for a property of a type.
Public classCodeMethodInvokeExpression Represents an expression that invokes a method.
Public classCodeMethodReferenceExpression Represents a reference to a method.
Public classCodeMethodReturnStatement Represents a return value statement.
Public classCodeNamespace Represents a namespace declaration.
Public classCodeNamespaceCollection Represents a collection of CodeNamespace objects.
Public classCodeNamespaceImport Represents a namespace import directive that indicates a namespace to use.
Public classCodeNamespaceImportCollection Represents a collection of CodeNamespaceImport objects.
Public classCodeObject Provides a common base class for most Code Document Object Model (CodeDOM) objects.
Public classCodeObjectCreateExpression Represents an expression that creates a new instance of a type.
Public classCodeParameterDeclarationExpression Represents a parameter declaration for a method, property, or constructor.
Public classCodeParameterDeclarationExpressionCollection Represents a collection of CodeParameterDeclarationExpression objects.
Public classCodePrimitiveExpression Represents a primitive data type value.
Public classCodePropertyReferenceExpression Represents a reference to the value of a property.
Public classCodePropertySetValueReferenceExpression Represents the value argument of a property set method call within a property set method.
Public classCodeRegionDirective Specifies the name and mode for a code region.
Public classCodeRemoveEventStatement Represents a statement that removes an event handler.
Public classCodeSnippetCompileUnit Represents a literal code fragment that can be compiled.
Public classCodeSnippetExpression Represents a literal expression.
Public classCodeSnippetStatementRepresents a statement using a literal code fragment.
Public classCodeSnippetTypeMemberRepresents a member of a type using a literal code fragment.
Public classCodeStatement Represents the abstract base class from which all code statements derive.
Public classCodeStatementCollection Represents a collection of CodeStatement objects.
Public classCodeThisReferenceExpression Represents a reference to the current local class instance.
Public classCodeThrowExceptionStatement Represents a statement that throws an exception.
Public classCodeTryCatchFinallyStatement Represents a try block with any number of catch clauses and, optionally, a finally block.
Public classCodeTypeConstructor Represents a static constructor for a class.
Public classCodeTypeDeclaration Represents a type declaration for a class, structure, interface, or enumeration.
Public classCodeTypeDeclarationCollection Represents a collection of CodeTypeDeclaration objects.
Public classCodeTypeDelegate Represents a delegate declaration.
Public classCodeTypeMember Provides a base class for a member of a type. Type members include fields, methods, properties, constructors and nested types.
Public classCodeTypeMemberCollection Represents a collection of CodeTypeMember objects.
Public classCodeTypeOfExpression Represents a typeof expression, an expression that returns a Type for a specified type name.
Public classCodeTypeParameter Represents a type parameter of a generic type or method.
Public classCodeTypeParameterCollection Represents a collection of CodeTypeParameter objects.
Public classCodeTypeReference Represents a reference to a type.
Public classCodeTypeReferenceCollection Represents a collection of CodeTypeReference objects.
Public classCodeTypeReferenceExpression Represents a reference to a data type.
Public classCodeVariableDeclarationStatement Represents a variable declaration.
Public classCodeVariableReferenceExpression Represents a reference to a local variable.
  EnumerationDescription
Public enumerationCodeBinaryOperatorType Defines identifiers for supported binary operators.
Public enumerationCodeRegionMode Specifies the start or end of a code region.
Public enumerationCodeTypeReferenceOptions Specifies how the code type reference is to be resolved.
Public enumerationFieldDirection Defines identifiers used to indicate the direction of parameter and argument declarations.
Public enumerationMemberAttributes Defines member attribute identifiers for class members.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker