Sets all the properties of the specified object.
Visual Basic |
---|
Public Function SetAllProperties( _ ByVal ObjVer As ObjVer, _ ByVal AllowModifyingCheckedInObject As Boolean, _ ByVal PropertyValues As PropertyValues _ ) As ObjectVersionAndProperties |
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. |