共用方式為


ITypeParameterSymbol.DeclaringType 屬性

定義

宣告類型參數的型別,或 null。

public:
 property Microsoft::CodeAnalysis::INamedTypeSymbol ^ DeclaringType { Microsoft::CodeAnalysis::INamedTypeSymbol ^ get(); };
public Microsoft.CodeAnalysis.INamedTypeSymbol DeclaringType { get; }
public Microsoft.CodeAnalysis.INamedTypeSymbol? DeclaringType { get; }
member this.DeclaringType : Microsoft.CodeAnalysis.INamedTypeSymbol
Public ReadOnly Property DeclaringType As INamedTypeSymbol

屬性值

適用於