DioDocs for PDF
As<T>(IntPtr) メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > ComObject クラス > As メソッド : As<T>(IntPtr) メソッド
The type of the COM interface to query
The managed COM object.
Queries a managed object for a particular COM interface support (This method is a shortcut to QueryInterface(Guid,IntPtr))
シンタックス
'宣言
 
Public Overloads Shared Function As(Of T As ComObject)( _
   ByVal iunknownPtr As System.IntPtr _
) As T
public static T As<T>( 
   System.IntPtr iunknownPtr
)
where T: ComObject

パラメータ

iunknownPtr
The managed COM object.

型パラメータ

T
The type of the COM interface to query

戻り値の型

An instance of the queried interface
参照

ComObject クラス
ComObject メンバ
オーバーロード一覧