Compartir a través de


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

Syntax

'Declaración
Public Property Value As Long
    Get
    Set
'Uso
Dim instance As Variant
Dim value As Long

value = instance.Value

instance.Value = value
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: System.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

Variant Members

Microsoft.VisualStudio.Package Namespace