M-Files API 22.6.11519.0
SetProperties Method
VaultObjectPropertyOperations Object : SetProperties Method
The object version that identifies the object.
The properties to set.
Description
Sets all the properties of the specified object version.
Syntax
Visual Basic
Public Function SetProperties( _
   ByVal ObjVer As ObjVer, _
   ByVal PropertyValues As PropertyValues _
) As ObjectVersionAndProperties
Parameters
ObjVer
The object version that identifies the object.
PropertyValues
The properties to set.
Remarks
This method cannot be used to change the class of an object. Use SetAllProperties instead if this is needed.

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.

See Also

VaultObjectPropertyOperations Object  | VaultObjectPropertyOperations Members