ParameterBuilder 成员

创建或关联参数信息。

下表列出了由 ParameterBuilder 类型公开的成员。

公共属性

  名称 说明
Public property Attributes 检索此参数的属性。
Public property IsIn 检索这是否为输入参数。
Public property IsOptional 检索此参数是否为可选的。
Public property IsOut 检索此参数是否为输出参数。
Public property Name 检索此参数的名称。
Public property Position 检索此参数的签名位置。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method GetToken 检索此参数的标记。
Public method GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Static ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method SetConstant 设置该参数的默认值。
Public method SetCustomAttribute 已重载。 设置自定义属性。
Public method SetMarshal 为该参数指定封送处理。
Public method ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

显式接口实现

  名称 说明
Explicit interface implementation Method System.Runtime.InteropServices._ParameterBuilder.GetIDsOfNames 将一组名称映射为对应的一组调度标识符。
Explicit interface implementation Method System.Runtime.InteropServices._ParameterBuilder.GetTypeInfo 检索对象的类型信息,然后可以使用该信息获取接口的类型信息。
Explicit interface implementation Method System.Runtime.InteropServices._ParameterBuilder.GetTypeInfoCount 检索对象提供的类型信息接口的数量(0 或 1)。
Explicit interface implementation Method System.Runtime.InteropServices._ParameterBuilder.Invoke 提供对某一对象公开的属性和方法的访问。

页首

请参见

参考

ParameterBuilder 类
System.Reflection.Emit 命名空间