Saves the UI settings of a specified folder.
Visual Basic |
---|
Public Sub SaveFolderUIStateForFolder( _ ByVal SaveAsCommonSettings As Boolean, _ ByVal ResetCommonSettingsToAllUsers As Boolean, _ ByVal FolderLocation As FolderDefs, _ ByVal ObjectFolder As Boolean, _ ByVal State As FolderUIState _ ) |
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.
The system may internally rearrange the FolderUIState Object structure, and especially the FolderListingColumns Collection inside it.