INamedTypeSymbol.TypeParameters 属性

定义

返回此类型具有的类型参数。 如果这是非泛型类型,则返回空的 ImmutableArray。

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ITypeParameterSymbol ^> TypeParameters { System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ITypeParameterSymbol ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeParameterSymbol> TypeParameters { get; }
member this.TypeParameters : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeParameterSymbol>
Public ReadOnly Property TypeParameters As ImmutableArray(Of ITypeParameterSymbol)

属性值

适用于