Partager via


Variant.Value Property

Determines the value of this 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 Value As Long
public long Value { get; set; }
public:
property long long Value {
    long long get ();
    void set (long long value);
}
member Value : int64 with get, set
function get Value () : long 
function set Value (value : long)

Property Value

Type: Int64
Returns a number that is a literal interpretation of the object's pointer.

Remarks

The value returned from this property is not a conversion from some other type but the actual numerical value of the original variant's pointer. This property has little practical value as a result.

.NET Framework Security

See Also

Reference

Variant Structure

Microsoft.VisualStudio.Package Namespace