SelectionData Class
This is a sealed class that contains data about selected items in a view.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Inheritance Hierarchy
System.Object
Microsoft.ManagementConsole.SelectionData
Syntax
public sealed class SelectionData
public ref class SelectionData sealed
[<Sealed>]
type SelectionData = class end
Public NotInheritable Class SelectionData
Properties
Name | Description | |
---|---|---|
ActionsPaneHelpItems | Gets the actions pane help items for the currently selected items. |
|
ActionsPaneItems | Gets the actions pane items for the current selection. |
|
DefaultDragAndDropVerb | Gets or sets the default verb to apply to a data object when dropped onto this selection. |
|
Description | Gets or sets the description for the currently selected items. |
|
DisplayName | Gets or sets the display name for the currently selected items. |
|
EnabledStandardVerbs | Gets or sets the enabled StandardVerbs for the currently selected items. |
|
HelpTopic | Gets or sets the help topic for the current selection. |
|
SelectionObject | Gets the selection object that is provided by the snap-in for the items that are represented by the new selection. |
|
SharedData | Gets or sets the user-specified writable published data for this selection. |
Methods
Name | Description | |
---|---|---|
BeginUpdates() | The first call in a series of calls to selection data methods and properties. |
|
Clear() | Clears the selection context. |
|
EndUpdates() | Called to signify the end of a series of calls to selection data methods and properties since BeginUpdates was last called. |
|
Equals(Object) | (Inherited from Object.) |
|
GetAllowedClipboardFormatIdsForPaste() | Gets the set of clipboard formats that can be pasted on the current selection. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
GetUniqueNodeTypes() | Gets the unique node types associated with the current selection. Clear and Update are the only methods that can modify the set of unique node types. |
|
SetAllowedClipboardFormatIdsForPaste(String[]) | Updates the set of clipboard formats that can be pasted on the current selection. |
|
ShowPropertySheet(String) | Displays the property sheet for the selection. This method brings an existing sheet to the foreground. |
|
ShowPropertySheet(String, Boolean) | This method displays a property sheet for the selection and uses a parameter that decides whether the Apply button is to be hidden. This method brings an existing sheet to the foreground. |
|
ToString() | (Inherited from Object.) |
|
Update(Object, Boolean, Guid[], WritableSharedData) | Updates the selection context. |
Remarks
Actions pane items, standard verbs, and property sheets for selected items in a view are exposed through this class. Whenever a selection changes in a view, the snap-in must update the selection context by calling either the Clear method or the Update method.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ManagementConsole Namespace
Return to top