Share via


MmcListView Class

 

Provides a standard MMC view that allows the results pane to be populated with a list of items. All classes that are derived from this type must have a public default constructor defined.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.View
    Microsoft.ManagementConsole.MmcListView

Syntax

public class MmcListView : View
public ref class MmcListView : View
type MmcListView = 
    class
        inherit View
    end
Public Class MmcListView
    Inherits View

Constructors

Name Description
System_CAPS_pubmethod MmcListView()

Initializes a new instance of the MmcListView class.

Properties

Name Description
System_CAPS_pubproperty ActionsPaneItems

Gets the set of selection-independent actions that apply to the entire view. To specify actions that apply to the selected items in the view, use the selection data property ActionsPaneItems instead. (Inherited from View.)

System_CAPS_pubproperty Columns

Gets the collection of columns that are associated with this MMC list view.

System_CAPS_pubproperty DescriptionBarText

Gets or sets the text that appears on the description bar for the view that follows the scope node display name in the description bar. (Inherited from View.)

System_CAPS_pubproperty IsModified

Gets or sets a flag that indicates that the view has data that needs to be saved. (Inherited from View.)

System_CAPS_pubproperty Mode

Gets or sets the mode for the MMC list view.

System_CAPS_pubproperty ModeActionsPaneItems

Gets the set of actions used to configure the visual modes for the view. These actions appear in the actions pane and in various menus on locations that are reserved for this purpose. (Inherited from View.)

System_CAPS_pubproperty Options

Gets the list view options.

System_CAPS_pubproperty ResultNodes

Gets the collection of ResultNode instances that are associated with this view.

System_CAPS_pubproperty ScopeNode

Gets the scope node with which this view is associated. (Inherited from View.)

System_CAPS_pubproperty SelectedNodes

Gets the collection of the selected ScopeNode instances and ResultNode instances in this view.

System_CAPS_pubproperty SelectionData

Gets the selection data for the view. (Inherited from View.)

System_CAPS_pubproperty SharedTag

Gets or sets an object that is shared across view instances of a particular MDI child.(Inherited from View.)

System_CAPS_pubproperty SnapIn

Gets the snap-in associated with the view. (Inherited from View.)

System_CAPS_pubproperty Sorter

Gets or sets an object that implements the IResultNodeComparer interface. This object is null by default and should only be set if UseCustomSorting is specified in the options that are provided to the MmcListViewDescription class.

System_CAPS_pubproperty ViewDescriptionTag

Gets the tag that was set on the associated view description.(Inherited from View.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExpandScopeNode(ScopeNode)

Expands the specified scope node.(Inherited from View.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsScopeNodeVisuallyExpanded(ScopeNode)

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates whether the specified node is expanded.(Inherited from View.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnAction(Action, AsyncStatus)

Handles the execution of a selection-independent action. (Inherited from View.)

System_CAPS_protmethod OnAddPropertyPages(PropertyPageCollection)

Called to add property pages to a property sheet. (Inherited from View.)

System_CAPS_protmethod OnColumnVisibilityChanged()

Called when the column visibility changes. The snap-in may override this method to read the updated visibility of each column and use this knowledge to optimize the fetching of data.

System_CAPS_protmethod OnCut(Object, AsyncStatus)

Called so that the snap-in can cut items from the given selection after it has been pasted elsewhere. (Inherited from View.)

System_CAPS_protmethod OnDelete(SyncStatus)

Called when the Delete standard verb is triggered.(Inherited from View.)

System_CAPS_protmethod OnGetSharedData(Object, WritableSharedDataItem, SyncStatus)

Handles a request to provide data for a published data item that was designated as one that requires a callback.(Inherited from View.)

System_CAPS_protmethod OnHide()

Called when a view is hidden in the UI. (Inherited from View.)

System_CAPS_protmethod OnInitialize(AsyncStatus)

Allows snap-in code to perform custom view initialization. (Inherited from View.)

System_CAPS_protmethod OnLoadCustomData(AsyncStatus, Byte[])

Allows the snap-in to receive previously stored binary data that is contained in the console file.(Inherited from View.)

System_CAPS_protmethod OnModeAction(Action, AsyncStatus)

Handles the execution of an action that is used to configure view modes. (Inherited from View.)

System_CAPS_protmethod OnPaste(SharedData, DragAndDropVerb, SyncStatus)

Invoked when data is pasted onto the current selection.(Inherited from View.)

System_CAPS_protmethod OnPrint(SyncStatus)

Called when the Print standard verb is triggered. (Inherited from View.)

System_CAPS_protmethod OnRefresh(AsyncStatus)

Called when the Refresh standard verb is triggered.(Inherited from View.)

System_CAPS_protmethod OnRename(String, SyncStatus)

Called when the Rename standard verb is triggered. (Inherited from View.)

System_CAPS_protmethod OnSaveCustomData(SyncStatus)

Allows the view to store binary data in the console file. (Inherited from View.)

System_CAPS_protmethod OnSelectionAction(Action, AsyncStatus)

Handles the execution of a selection-dependent action.(Inherited from View.)

System_CAPS_protmethod OnSelectionChanged(SyncStatus)

Called when a selection changes. The snap-in should override this method to read the updated SelectedNodes property and update SelectionData class accordingly.

System_CAPS_protmethod OnSharedDataChangeRequested(Object, WritableSharedDataItem, Byte[], AsyncStatus)

Handles a request from an extension for change in the value of a published data item.(Inherited from View.)

System_CAPS_protmethod OnShow()

Called when a view is shown in the UI.(Inherited from View.)

System_CAPS_protmethod OnShutdown(SyncStatus)

Called when a view needs be shut down.(Inherited from View.)

System_CAPS_protmethod OnSortCompleted(Int32, Boolean)

Called when a sort operation has been completed. The sort may have been initiated by the user or by the snap-in. The order in the ResultNodes property reflects the new order.

System_CAPS_protmethod OnSyncAction(SyncAction, SyncStatus)

Handles the execution of a selection-independent (view-global) action that runs synchronous to MMC.(Inherited from View.)

System_CAPS_protmethod OnSyncModeAction(SyncAction, SyncStatus)

Handles the execution of a view mode action that must run synchronously to MMC.(Inherited from View.)

System_CAPS_protmethod OnSyncSelectionAction(SyncAction, SyncStatus)

Handles the execution of a selection-dependent action that runs synchronous to MMC.(Inherited from View.)

System_CAPS_pubmethod SelectScopeNode(ScopeNode)

Selects the specified scope node in the MDI child window in which this view is visible. However, no action is performed if this view is hidden. (Inherited from View.)

System_CAPS_pubmethod SelectScopeNode(ScopeNode, NodeId[])

Selects the specified scope node in the MDI child window in which the view is visible. However, no action is performed if this view is hidden.(Inherited from View.)

System_CAPS_pubmethod Sort(Int32)

Initiates sorting on the column that has the specified index. Sorting is performed in an ascending order. A sort icon is displayed in the column header.

System_CAPS_pubmethod Sort(Int32, Boolean)

Initiates sorting on the column that has the specified index in the specified order. A sort icon is displayed in the column header.

System_CAPS_pubmethod Sort(Int32, Boolean, Boolean)

Initiates sorting on the column that has the specified index in a specified order and uses a parameter to select whether a sort icon should be displayed in the column header.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class provides a typed View class that can be instantiated and derived from.

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

View
Microsoft.ManagementConsole Namespace

Return to top