共用方式為


Variant.Vt Property

Determines the type of the Variant object.

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

Syntax

'宣告
Public Property Vt As Variant.VariantType
public Variant.VariantType Vt { get; set; }

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