M-Files API 23.11.13135.0
ResetFolderUIStateForFolder Method
VaultViewOperations Object : ResetFolderUIStateForFolder Method
True to reset the UI settings to program defaults.
True to reset the UI settings to common defaults defined by an administrator.
The folder location.
If true, the real location is actually an object folder in the folder location.
Description
Resets the UI settings of a specified folder to program defaults or common defaults.
Syntax
Visual Basic
Public Function ResetFolderUIStateForFolder( _
   ByVal ResetToProgramDefaults As Boolean, _
   ByVal ResetToCommonDefaults As Boolean, _
   ByVal FolderLocation As FolderDefs, _
   ByVal ObjectFolder As Boolean _
) As FolderUIState
Parameters
ResetToProgramDefaults
True to reset the UI settings to program defaults.
ResetToCommonDefaults
True to reset the UI settings to common defaults defined by an administrator.
FolderLocation
The folder location.
ObjectFolder
If true, the real location is actually an object folder in the folder location.
Remarks

The method can be targeted to a view location that is addressable as FolderDefs Collection location, or an object content folder under such a location. The "ObjectFolder" flag is set, for example, when pointing inside a multi-file document in a certain view location.

See Also

VaultViewOperations Object  | VaultViewOperations Members