Type.IsGenericMethodParameter 属性

定义

获取一个值,该值指示当前 Type 是否表示泛型方法定义中的类型参数。Gets a value that indicates whether the current Type represents a type parameter in the definition of a generic method.

public:
 virtual property bool IsGenericMethodParameter { bool get(); };
public virtual bool IsGenericMethodParameter { get; }
member this.IsGenericMethodParameter : bool
Public Overridable ReadOnly Property IsGenericMethodParameter As Boolean

属性值

true 如果 Type 对象表示泛型方法定义的类型参数,则为; 否则为。否则,falsetrue if the Type object represents a type parameter of a generic method definition; otherwise, false.

适用于