共用方式為


INamedTypeSymbol.Arity Property

Definition

Returns the arity of this type, or the number of type parameters it takes. A non-generic type has zero arity.

public:
 property int Arity { int get(); };
public int Arity { get; }
member this.Arity : int
Public ReadOnly Property Arity As Integer

Property Value

Applies to