Edit

Share via


MethodSignature<TType>.GenericParameterCount Property

Definition

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

Property Value

The number of generic type parameters, or 0 for non-generic methods.

Applies to