PropertyOperation Property

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

Syntax

ANSI (Cross Platform)
int GetPropertyOperation(int iPropertyIndex);
int SetPropertyOperation(int iPropertyIndex, int iPropertyOperation); Unicode (Windows) INT GetPropertyOperation(INT iPropertyIndex);
INT SetPropertyOperation(INT iPropertyIndex, INT iPropertyOperation);

Possible Values

OP_NONE(0), 
OP_SET(1),
OP_DELETE(2)
- (int)propertyOperation:(int)propertyIndex;
- (void)setPropertyOperation:(int)propertyIndex:(int)newPropertyOperation;

Possible Values

OP_NONE(0), 
OP_SET(1),
OP_DELETE(2)
#define PID_WEBDAV_PROPERTYOPERATION 40

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebDAV_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebDAV_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebDAV_CheckIndex(void *lpObj, int propid, int arridx);

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 C++ Edition - Version 20.0 [Build 8161]