CodeExpression 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示代码表达式。 这是其他从不实例化的代码表达式对象的基类。
public ref class CodeExpression : System::CodeDom::CodeObject
C#
public class CodeExpression : System.CodeDom.CodeObject
C#
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class CodeExpression : System.CodeDom.CodeObject
type CodeExpression = class
inherit CodeObject
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CodeExpression = class
inherit CodeObject
Public Class CodeExpression
Inherits CodeObject
- 继承
- 派生
- 属性
CodeExpression 为 命名空间中的 System.CodeDom 代码表达式提供基类。 CodeExpression 永远不会实例化。 相反,它为其他类型的代码表达式提供抽象基类。
Code |
初始化 CodeExpression 类的新实例。 |
User |
获取当前对象的用户可定义数据。 (继承自 CodeObject) |
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
作为默认哈希函数。 (继承自 Object) |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object 的浅表副本。 (继承自 Object) |
To |
返回表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |