MethodSignature<TType>.GenericParameterCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該方法的通用型別參數數量。
public:
property int GenericParameterCount { int get(); };
public int GenericParameterCount { get; }
member this.GenericParameterCount : int
Public ReadOnly Property GenericParameterCount As Integer
屬性值
泛型參數的數量,非泛型方法則為 0。