Share via


ParameterDescriptor 类

定义

包含描述参数的信息。

public abstract class ParameterDescriptor : System.Reflection.ICustomAttributeProvider
type ParameterDescriptor = class
    interface ICustomAttributeProvider
Public MustInherit Class ParameterDescriptor
Implements ICustomAttributeProvider
继承
ParameterDescriptor
派生
实现

构造函数

ParameterDescriptor()

初始化 ParameterDescriptor 类的新实例。

属性

ActionDescriptor

获取操作描述符。

BindingInfo

获取绑定信息。

DefaultValue

获取参数的默认值。

ParameterName

获取参数的名称。

ParameterType

获取参数的类型。

方法

GetCustomAttributes(Boolean)

返回为此成员定义的自定义特性的数组,指定的特性除外。

GetCustomAttributes(Type, Boolean)

返回为此成员定义的自定义属性数组,由类型标识。

IsDefined(Type, Boolean)

指示是否为此成员定义某个自定义特性类型的一个或多个实例。

适用于