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

屬性值

Boolean

true 如果 Type 物件代表泛型方法定義的型別參數,則為,否則為 falsetrue if the Type object represents a type parameter of a generic method definition; otherwise, false.

適用於