PropertyOperation Property

This property shows the operation to perform on a property when calling PatchProperties .

Syntax

int GetPropertyOperation(int iPropertyIndex);
int SetPropertyOperation(int iPropertyIndex, int iPropertyOperation);

Possible Values

OP_NONE(0), 
OP_SET(1),
OP_DELETE(2)

Default Value

0

Remarks

This property shows the operation to perform on a property when calling PatchProperties.

This is used when the class sends a property patch request to the server. When a call is made to PatchProperties, the class will use the PropertyOperation to tell the server what to do under the following scheme:

opNone (0)No operation will be performed on the property.
opSet (1)The value of PropertyName will be set to PropertyValue.
opDelete (2)The property defined by PropertyName will be removed from its resource.

The PropertyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the PropertyCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Qt Edition - Version 20.0 [Build 8161]