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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor