propertyOperation (property)

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

Syntax

- (int)propertyOperation:(int)propertyIndex;
- (void)setPropertyOperation:(int)propertyIndex:(int)newPropertyOperation;

/* Possible Values */
OP_NONE(0),
OP_SET(1),
OP_DELETE(2)
public func propertyOperation(propertyIndex: Int32) throws -> WebdavPropertyOperations
public func setPropertyOperation(propertyIndex: Int32, newPropertyOperation: WebdavPropertyOperations) throws -> Void
public enum WebdavPropertyOperations : Int32 { case opNone = 0 case opSet = 1 case opDelete = 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.

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