Redigera

Dela via


ComVariant.GetRawDataRef<T> Method

Definition

Get a reference to the storage location within this ComVariant instance.

public:
generic <typename T>
 where T : value class T % GetRawDataRef();
public ref T GetRawDataRef<T> () where T : struct;
member this.GetRawDataRef : unit -> 'T (requires 'T : struct)
Public Function GetRawDataRef(Of T As Structure) () As T

Type Parameters

T

The type of reference to return.

Returns

T

A reference to the storage location within this ComVariant.

Exceptions

T is Decimal or larger than the storage space in an ComVariant.

Applies to