共用方式為


Variant.Vt Property

Determines the type of the Variant object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣告
Public Property Vt As Variant..::..VariantType
    Get
    Set
'用途
Dim instance As Variant
Dim value As Variant..::..VariantType

value = instance.Vt

instance.Vt = value
public Variant..::..VariantType Vt { get; set; }
public:
property Variant..::..VariantType Vt {
    Variant..::..VariantType get ();
    void set (Variant..::..VariantType value);
}
member Vt : Variant..::..VariantType with get, set
function get Vt () : Variant..::..VariantType
function set Vt (value : Variant..::..VariantType)

Property Value

Type: Microsoft.VisualStudio.Package.Variant.VariantType
Returns a value from the Variant.VariantType enumeration, specifying the type of the variant.

.NET Framework Security

See Also

Reference

Variant Structure

Variant Members

Microsoft.VisualStudio.Package Namespace