ComVariant.GetRawDataRef<T> 方法

定义

获取对此 ComVariant 实例中的存储位置的引用。

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

类型参数

T

要返回的引用的类型。

返回

T

对此 ComVariant中存储位置的引用。

例外

T Decimal 或大于 ComVariant中的存储空间。

适用于