Resets the UI settings of a specified folder to program defaults or common defaults.
Visual Basic |
---|
Public Function ResetFolderUIStateForFolder( _ ByVal ResetToProgramDefaults As Boolean, _ ByVal ResetToCommonDefaults As Boolean, _ ByVal FolderLocation As FolderDefs, _ ByVal ObjectFolder As Boolean _ ) 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.