BACnetObjectBase.GetPropertyInstanceWithContentBuffer (METH)ΒΆ
METHOD GetPropertyInstanceWithContentBuffer : CmpBACnet.IEC_BACNET_STATUS
Gets the value/content of a specified BACnet-Property (ePropertyID) independend of any client side acces restrictions. The specified index should be set to -1, meaning that all elements of a List or Array in a BACnet-Property are retrieved. Otherwise an index counting from 1 specifies a element of a BACnetARRAY property. The IEC_BACNET_PEROPERTY_CONTENTS variable propertyContents.Buffer.pBuffer is requested to be initialized with a properly sized memory block, which is able to hold all the data of the BACnet-Property, so the stack doesnt allocate propertyContents.Buffer.pBuffer.
- InOut:
- Scope - Name - Type - Comment - Return - GetPropertyInstanceWithContentBuffer- CmpBACnet.IEC_BACNET_STATUS- Input - ePropertyID- CmpBACnet.IEC_BACNET_PROPERTY_ID- The id of the property to get. - nIndex- DINT- Counting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance. - Inout - propertyContents- CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS- Initialized or not initalized structure holding the read Property-Data (see documentation above). 
