Retrieves the UI settings of a specified folder.
Visual Basic |
---|
Public Function GetFolderUIStateForFolder( _ ByVal CommonState 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.
The UI state contains column settings for the view. The columns collection contains all columns that can be displayed in the view, regardless whether they are currently visible or not.