Type.IsConstructedGenericType Type.IsConstructedGenericType Type.IsConstructedGenericType Type.IsConstructedGenericType Property

定義

取得值,指出這個物件是否表示建構的泛型類型。Gets a value that indicates whether this object represents a constructed generic type. 您可以建立已建構之泛型類型的執行個體。You can create instances of a constructed generic type.

public:
 virtual property bool IsConstructedGenericType { bool get(); };
public virtual bool IsConstructedGenericType { get; }
member this.IsConstructedGenericType : bool
Public Overridable ReadOnly Property IsConstructedGenericType As Boolean

屬性值

如果這個物件代表建構的泛型類型,則為 true,否則為 falsetrue if this object represents a constructed generic type; otherwise, false.

備註

已結構化的泛型型別具有為其所有泛型型別參數提供的明確類型。A constructed generic type has had explicit types supplied for all of its generic type parameters. 它也稱為封閉式泛型型別。It is also referred to as a closed generic type.

當這個屬性為true時, 您可以建立目前類型的實例, 如果是false, 則不能。When this property is true, you can create instances of the current type; when it is false, you can't.

適用於