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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για