Ruft die Liste der COM-Eigenschaften ab, die vom IDispatch-Zeiger mit der Beschreibung der Typen und Argumentnamen unterstützt werden.
COM_getProperties_ ( serverHandle As User ) As Any
Argument | Typ | Beschreibung |
---|---|---|
serverHandle | User | IDispatch-Zeiger |
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", ? }