Share via


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.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Property Vt As Variant.VariantType
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

Microsoft.VisualStudio.Package Namespace