Type.IsConstructedGenericType Egenskap

Definition

Hämtar ett värde som anger om det här objektet representerar en konstruerad allmän typ. Du kan skapa instanser av en konstruerad allmän typ.

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

Egenskapsvärde

trueom det här objektet representerar en konstruerad allmän typ; annars . false

Kommentarer

En konstruerad generisk typ har fått explicita typer angivna för alla dess generiska typparametrar. Det kallas även för en sluten allmän typ.

När den här egenskapen är truekan du skapa instanser av den aktuella typen. När den är falsekan du inte.

Gäller för