M-Files API 23.11.13135.0
SetAllProperties Method
VaultObjectPropertyOperations Object : SetAllProperties Method
Description
Sets all the properties of the specified object.
Syntax
Visual Basic
Public Function SetAllProperties( _
   ByVal ObjVer As ObjVer, _
   ByVal AllowModifyingCheckedInObject As Boolean, _
   ByVal PropertyValues As PropertyValues _
) As ObjectVersionAndProperties
Parameters
ObjVer
AllowModifyingCheckedInObject
PropertyValues
Remarks

Unlike SetProperty and SetProperties, this method can be used to change the class of an object.

Note

In case this method modifies the permissions of the object through pseudo users or automatic components it might be possible that the object won't be visible to the user after the operation has completed. This can be prevented by not relying on AllowModifyingCheckedInObject but instead checking the object out before calling the method. Users will always have permissions to objects they have checked out.

See Also

VaultObjectPropertyOperations Object  | VaultObjectPropertyOperations Members