Variant.Value Property

Definition

Determines the value of this Variant object.

public:
 property long Value { long get(); void set(long value); };
public:
 property long long Value { long long get(); void set(long long value); };
public long Value { get; set; }
member this.Value : int64 with get, set
Public Property Value As Long

Property Value

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.

Applies to