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.

适用于

另请参阅