Upraviť

Zdieľať cez


Type.IsConstructedGenericType Property

Definition

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