TypeBuilder.IsPrimitiveImpl 方法

定義

在衍生類別中覆寫時,實作 IsPrimitive 屬性並判斷 Type 是否為其中一個基本類型。

protected:
 override bool IsPrimitiveImpl();
protected override bool IsPrimitiveImpl ();
override this.IsPrimitiveImpl : unit -> bool
Protected Overrides Function IsPrimitiveImpl () As Boolean

傳回

如果 true 是其中一個基本類型,則為 Type,否則為 false

適用於