Type.IsValueTypeImpl 方法

定義

實作 IsValueType 屬性並判斷 Type 是否為實值類型;也就是說,不是類別或介面。Implements the IsValueType property and determines whether the Type is a value type; that is, not a class or an interface.

protected:
 virtual bool IsValueTypeImpl();
protected virtual bool IsValueTypeImpl ();
abstract member IsValueTypeImpl : unit -> bool
override this.IsValueTypeImpl : unit -> bool
Protected Overridable Function IsValueTypeImpl () As Boolean

傳回

如果 true 是實值類型,則為 Type,否則為 falsetrue if the Type is a value type; otherwise, false.

備註

提供這個方法的目的是要啟用替代型別系統的執行。This method is provided to enable the implementation of alternate type systems. 它通常不會用在應用程式代碼中。It is not generally used in application code.

適用於

另請參閱