Constants.vbVariant 字段

定义

指示变量对象的类型为 VariantIndicates that the type of a variant object is Variant. VarType 函数返回。Returned by the VarType function.

public: Microsoft::VisualBasic::VariantType vbVariant = 12;
public const Microsoft.VisualBasic.VariantType vbVariant = 12;
val mutable vbVariant : Microsoft.VisualBasic.VariantType
Public Const vbVariant As VariantType  = 12

字段值

VariantType

注解

调用 VarType 函数时,可以在代码中使用枚举成员来代替实际值。When you call the VarType function, you can use enumeration members in your code in place of the actual values.

VariantType枚举定义用于标识可能 Variant 类型的常量。The VariantType enumeration defines constants used to identify possible Variant types. 下表列出了 VariantType 枚举成员。The following table lists the VariantType enumeration members.

适用于

另请参阅