UpdateFilePropertyDefinitions Method
Updates the property definitions associated with a set of files.
Required Permissions
FileAddRemoveUserDefinedPropertySyntax
public File[] UpdateFilePropertyDefinitions(
System.long[] masterIds,
System.long[] addedPropDefIds,
System.long[] removedPropDefIds,
System.string comment
)Public Function UpdateFilePropertyDefinitions( _
ByVal masterIds() As System.Long, _
ByVal addedPropDefIds() As System.Long, _
ByVal removedPropDefIds() As System.Long, _
ByVal comment As System.String _
) As File()Parameters
| Name | Description |
|---|---|
| masterIds | Files to edit. |
| addedPropDefIds | User defined property definitions to associate with all files listed in "fileMasterIds" parameter. |
| removedPropDefIds | User defined property definitions to un-associate with all files listed in "fileMasterIds" parameter. |
| comment | The comment for the new version of the file. |
Return Value
The updated File objects.
Remarks
Only user defined property definitions can be added or removed. This operation creates a new file version. File must not be checked out to call this function.