MethodSignature<TType>.GenericParameterCount 属性
定义
获取方法的泛型类型参数的数目。Gets the number of generic type parameters for the method.
public:
property int GenericParameterCount { int get(); };
public int GenericParameterCount { get; }
member this.GenericParameterCount : int
Public ReadOnly Property GenericParameterCount As Integer
属性值
泛型类型参数的数量; 对于非泛型方法,则为0。The number of generic type parameters, or 0 for non-generic methods.