UpdateOperationUtility.appendRemovePropertyOperation(String path) 方法

定义

Include a remove operation for a property.

public UpdateOperationUtility appendRemovePropertyOperation(String path)

参数

path
String

The path to the property to be added.

返回

The UpdateOperationUtility object itself.

The patch for removing a root-level property should be in the following format:

{

     "op": "remove",

     "path": "/samplePropertyName",

}

The patch for removing a component-level property should be in the following format:

{

     "op": "remove",

     "path": "/sampleComponentName/samplePropertyName",

}

适用于