Type.IsConstructedGenericType 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 that indicates whether this object represents a constructed generic type. You can create instances of a constructed generic type.
public:
abstract property bool IsConstructedGenericType { bool get(); };
public:
virtual property bool IsConstructedGenericType { bool get(); };
public abstract bool IsConstructedGenericType { get; }
public virtual bool IsConstructedGenericType { get; }
member this.IsConstructedGenericType : bool
Public MustOverride ReadOnly Property IsConstructedGenericType As Boolean
Public Overridable ReadOnly Property IsConstructedGenericType As Boolean
Property Value
true
if this object represents a constructed generic type; otherwise, false
.
Remarks
A constructed generic type has had explicit types supplied for all of its generic type parameters. it's also referred to as a closed generic type.
When this property is true
, you can create instances of the current type; when it's false
, you can't.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про