Variant.Value Property
Determines the value of this Variant object.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Property Value As Long
'Usage
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);
}
public function get Value () : long
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.