TypeBuilder.IsGenericParameter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the current type is a generic type parameter.
public:
virtual property bool IsGenericParameter { bool get(); };
public override bool IsGenericParameter { get; }
member this.IsGenericParameter : bool
Public Overrides ReadOnly Property IsGenericParameter As Boolean
Property Value
true
if the current TypeBuilder object represents a generic type parameter; otherwise, false
.
Remarks
Note
When emitting code, a generic type parameter is represented by a GenericTypeParameterBuilder object rather than by a TypeBuilder object.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk