Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeStatement Class

Represents a statement. This is a base class for other code statement objects that is never instantiated.

For a list of all members of this type, see CodeStatement Members.

System.Object
   System.CodeDom.CodeObject
      System.CodeDom.CodeStatement
         Derived classes

[Visual Basic]
<Serializable>
<ClassInterface(ClassInterfaceType.AutoDispatch)>
<ComVisible(True)>
Public Class CodeStatement
   Inherits CodeObject
[C#]
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeStatement : CodeObject
[C++]
[Serializable]
[ClassInterface(ClassInterfaceType::AutoDispatch)]
[ComVisible(true)]
public __gc class CodeStatement : public CodeObject
[JScript]
public
   Serializable
 ClassInterface(ClassInterfaceType.AutoDispatch)
 ComVisible(true)
class CodeStatement extends CodeObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

CodeStatement provides a base class that can represent code statements.

CodeStatement provides a base class for code statements within the System.CodeDom namespace. CodeStatement is never instantiated. Instead it provides an abstract base class for other types of code statements.

Requirements

Namespace: System.CodeDom

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

CodeStatement Members | System.CodeDom Namespace | CodeStatementCollection

Show:
© 2015 Microsoft