HierarchyInfoSyncSelectionEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for an event that occurs when the hierarchy service synchronizes the active page to reflect selection changes in the hierarchy.
public ref class HierarchyInfoSyncSelectionEventArgs : EventArgs
public class HierarchyInfoSyncSelectionEventArgs : EventArgs
type HierarchyInfoSyncSelectionEventArgs = class
inherit EventArgs
Public Class HierarchyInfoSyncSelectionEventArgs
Inherits EventArgs
- Inheritance
-
HierarchyInfoSyncSelectionEventArgs
Examples
The following example implements the SyncSelection method.
public override void SyncSelection(HierarchyInfoSyncSelectionEventArgs item) {
base.SyncSelection(item);
if (item.PageType == typeof(DemoPage)) {
item.HierarchyInfo = _info;
}
}
Remarks
The SyncSelection method is called whenever the hierarchy service needs to synchronize the active page with the value of the SelectedInfo property.
Constructors
HierarchyInfoSyncSelectionEventArgs(Connection, HierarchyInfo, Type) |
Initializes a new instance of the HierarchyInfoSyncSelectionEventArgs class. |
Properties
Connection |
Gets the connection. |
HierarchyInfo |
Gets or sets the hierarchy of objects in a module. |
PageType |
Gets the type of the page. |