ScopeNode Class
Represents a node that defines a scope in the MMC scope namespace.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Inheritance Hierarchy
System.Object
Microsoft.ManagementConsole.Node
Microsoft.ManagementConsole.ScopeNode
Syntax
public class ScopeNode : Node
public ref class ScopeNode : Node
type ScopeNode =
class
inherit Node
end
Public Class ScopeNode
Inherits Node
Constructors
Name | Description | |
---|---|---|
ScopeNode() | Initializes a new instance of the ScopeNode class. |
|
ScopeNode(Boolean) | Initializes a new instance of the ScopeNode class using a flag that determines whether the scope node is created with the Expand icon enabled. |
|
ScopeNode(Guid) | Initializes a new instance of the ScopeNode class using a GUID that specifies the type of the scope node. |
|
ScopeNode(Guid, Boolean) | Initializes a new instance of the ScopeNode class using a GUID that specifies the type of the scope node and a flag that determines whether the scope node is created with the Expand icon enabled. |
Properties
Name | Description | |
---|---|---|
ActionsPaneHelpItems | Gets the actions that are available on the help menu when the node has focus. |
|
ActionsPaneItems | Gets the actions that should be available when the node has focus. |
|
Children | Gets the children of the scope node. |
|
DefaultDragAndDropVerb | Gets or sets the default drag-and-drop operation to be performed when a data object is dropped on this node. |
|
DisplayName | Gets or sets the display name for the node. (Inherited from Node.) |
|
EnabledStandardVerbs | Gets or sets the bits indicating which standard verbs are enabled for the scope node. |
|
HelpTopic | Gets or sets the help topic for the node. |
|
Id | Gets the internally generated integer that uniquely identifies the Node instance at runtime. (Inherited from Node.) |
|
ImageIndex | Gets or sets the image index for the node. This is an index of the small and large images in the instance of the snap-in class that is related to the node. (Inherited from Node.) |
|
LanguageIndependentName | Gets or sets an identifier that is locale-independent and remains constant across MMC sessions. This property is used for persistence. |
|
NodeType | Gets a GUID that represents the MMC node type of the scope node. This data is used by the MMC extension mechanism. |
|
Parent | Gets the parent node of the scope node. |
|
SelectedImageIndex | Gets or sets the index of the image that is displayed when the node has focus. |
|
SharedData | Gets the shared data for the scope node. Shared data is used to publish context to extension snap-ins. |
|
SnapIn | Gets the instance of the snap-in that is associated with the node. (Inherited from Node.) |
|
SubItemDisplayNames | Gets or sets the collection of sub-item display names for the node. This collection is used if the node appears in a list view. (Inherited from Node.) |
|
Tag | Gets or sets custom information that is associated with the node. (Inherited from Node.) |
|
ViewDescriptions | Gets or sets the view descriptions that are supported by the scope node. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetAllowedClipboardFormatIdsForPaste() | Gets the set of clipboard formats that can be pasted on this node. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnAction(Action, AsyncStatus) | Performs application-specific handling when an action is triggered for the scope node. |
|
OnAddPropertyPages(PropertyPageCollection) | Adds the properties to be displayed for the scope node when the Properties verb is triggered. |
|
OnCut(AsyncStatus) | Removes the scope node when it has been successfully pasted elsewhere after the Cut verb is triggered. |
|
OnDelete(SyncStatus) | Removes the scope node when the Delete verb is triggered. |
|
OnExpand(AsyncStatus) | Displays the children of the scope node when the scope node is expanded. |
|
OnExpandFromLoad(SyncStatus) | Displays the children of the scope node when the scope node is expanded synchronously with MMC. MMC expands nodes to the last node that was selected when the console file was saved. |
|
OnGetSharedData(WritableSharedDataItem, SyncStatus) | Provides published data for a scope node’s shared data item when the data is requested. |
|
OnPaste(SharedData, DragAndDropVerb, SyncStatus) | Pastes data into the scope node when the Paste verb is triggered. |
|
OnPrint(SyncStatus) | Prints the scope node when the Print verb is triggered. |
|
OnRefresh(AsyncStatus) | Updates the scope node when the Refresh verb is triggered. |
|
OnRename(String, SyncStatus) | Changes the name of the scope node when the Rename verb is triggered. |
|
OnSharedDataChangeRequested(WritableSharedDataItem, Byte[], AsyncStatus) | Updates data for a scope node’s shared data item when a change is requested. |
|
OnSyncAction(SyncAction, SyncStatus) | Performs application-specific handling when an action that runs synchronous to MMC is triggered for the scope node. |
|
SetAllowedClipboardFormatIdsForPaste(String[]) | Updates the set of clipboard formats that can used for pasting on the scope node. |
|
ShowPropertySheet(String) | Displays a property sheet for the scope node. This method brings an existing sheet to the foreground. |
|
ShowPropertySheet(String, Boolean) | Displays a property sheet for the scope node and uses a flag to indicate whether the APPLY button is to be hidden. This method brings an existing sheet to the foreground. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ActionsActivated | Snap-ins can subscribe to this event to get called to supply actions for the scope node in the event handler. |
|
ActionsDeactivated | Snap-ins can subscribe to this event in conjunction with ActionsActivated to clean-up or remove actions on this scope node when the actions are no longer needed. |
Remarks
Since the scope namespace is hierarchical, a scope node has children. A scope node's children are specified in the Children property. Scope nodes support additional UI elements including a selected image and have the ability to show an expansion glyph to signify that the node has child elements. These additional UI elements are exposed as properties on the scope node.
Each scope node may have a set of view descriptions, which are specified in the ViewDescriptions property.
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