XamlType.IsGeneric 屬性

定義

取得值,這個值表示此 XamlType 是否代表泛型型別。

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

屬性值

Boolean

如果這個 XamlType 表示泛型型別,則為 true,否則為 false

備註

這個屬性是協助程式屬性,會檢查 的 TypeArguments Null 值。 沒有與 相關的 IsGeneric 特定 Lookup 方法。

適用於