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
'Dichiarazione
Public Property Value As Long
Get
Set
'Utilizzo
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
- 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.