CodeExpression 类

定义

表示代码表达式。Represents a code expression. 这是其他从不实例化的代码表达式对象的基类。This is a base class for other code expression objects that is never instantiated.

public ref class CodeExpression : System::CodeDom::CodeObject
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Serializable]
public class CodeExpression : System.CodeDom.CodeObject
type CodeExpression = class
    inherit CodeObject
Public Class CodeExpression
Inherits CodeObject
继承
CodeExpression
派生
属性

注解

CodeExpressionSystem.CodeDom命名空间中的代码表达式提供基类。CodeExpression provides a base class for code expressions within the System.CodeDom namespace. CodeExpression永远不会实例化。CodeExpression is never instantiated. 相反, 它为其他类型的代码表达式提供抽象基类。Instead it provides an abstract base class for other types of code expressions.

构造函数

CodeExpression()

初始化 CodeExpression 类的新实例。Initializes a new instance of the CodeExpression class.

属性

UserData

获取当前对象的用户可定义数据。Gets the user-definable data for the current object.

(继承自 CodeObject)

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅