CodeStatement Class
Represents the abstract base class from which all code statements derive.
Assembly: System (in System.dll)
System.CodeDom::CodeObject
System.CodeDom::CodeStatement
System.CodeDom::CodeAssignStatement
System.CodeDom::CodeAttachEventStatement
System.CodeDom::CodeCommentStatement
System.CodeDom::CodeConditionStatement
System.CodeDom::CodeExpressionStatement
System.CodeDom::CodeGotoStatement
System.CodeDom::CodeIterationStatement
System.CodeDom::CodeLabeledStatement
System.CodeDom::CodeMethodReturnStatement
System.CodeDom::CodeRemoveEventStatement
System.CodeDom::CodeSnippetStatement
System.CodeDom::CodeThrowExceptionStatement
System.CodeDom::CodeTryCatchFinallyStatement
System.CodeDom::CodeVariableDeclarationStatement
| Name | Description | |
|---|---|---|
![]() | CodeStatement() | Initializes a new instance of the CodeStatement class. |
| Name | Description | |
|---|---|---|
![]() | EndDirectives | Gets a CodeDirectiveCollection object that contains end directives. |
![]() | LinePragma | Gets or sets the line on which the code statement occurs. |
![]() | StartDirectives | Gets a CodeDirectiveCollection object that contains start directives. |
![]() | UserData | Gets the user-definable data for the current object.(Inherited from CodeObject.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
CodeStatement provides an abstract base class for code statements within the System.CodeDom namespace.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


