COM_GetProperty

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > COM >

COM_GetProperty

 

Description

 

Retrieves value of property of existing instance of COM object.

 

Syntax

 

success = COM_GetProperty( pIDispatch, propertyName, vResult )

 

Returns

 

Success flag which can be tested using COM_Succeeded

 

Parameters

 

Name

Type

Optional

Meaning

pIDispatch

DWORD

No

DWORD pointer to IDispatch COM object variable

methodName

String

No

Name of property

vResult

Variant variable

No

Variable to which the return value of the property will be passed

 

Remarks

 

Restrictions

 

See also

 

COM_CreateObject

COM_Succeeded

COM_CallMethod

 

Examples