Bitmap for UWP
FromPointer<T> メソッド

C1.UWP.DX アセンブリ > C1.Util.DX 名前空間 > CppObject クラス : FromPointer<T> メソッド
The ComObject class that will be returned
The native pointer to a com object.
Instantiate a ComObject from a native pointer.
シンタックス
'宣言
 
Public Shared Function FromPointer(Of T As CppObject)( _
   ByVal comObjectPtr As System.IntPtr _
) As T
public static T FromPointer<T>( 
   System.IntPtr comObjectPtr
)
where T: CppObject

パラメータ

comObjectPtr
The native pointer to a com object.

型パラメータ

T
The ComObject class that will be returned

戻り値の型

An instance of T binded to the native pointer
参照

CppObject クラス
CppObject メンバ