COM_getProperties_()

概要

取得したタイプの説明と引数名と IDispatch ポインタによってサポートされる COM プロパティの list を選択します。

構文

COM_getProperties_ ( serverHandle As User ) As Any
引数 [タイプ] 説明
serverHandle User IDispatch ポインタです。

例 1

表示されているすべてのメソッドの list Word.Application オブジェクトで定義されたプロパティを表示します。
Method getWinWordModel() As List 
    Dim winword As User = COM_connectServer_("Word.Application") 
    Dim retList As List = {"Methods:"} + COM_getMethods_(winword) + {"Properties:"} + COM_getProperties_(winword) 
    COM_releaseDispatch_(winword) 
    Return retList 
End Method
出力(省略版)
--> {"Methods:", "void QueryInterface( in GUID* riid, out void** ppvObj)", "ULONG AddRef( )", "ULONG Release( )", "void GetTypeInfoCount( out UINT* pctinfo)", "void GetTypeInfo( in UINT itinfo, in ULONG lcid, out void** pptinfo)", ? "Properties:", "Application* Application", "long Creator", "IDispatch* Parent", "BSTR Name", "Documents* Documents", ? }