internal void OnSelectionDisplayNameChanged(string displayName)
{
ISnapInPlatform snapInPlatform = this.SnapIn.SnapInPlatform;
if (snapInPlatform == null)
{
throw Microsoft.ManagementConsole.Internal.Utility.CreateClassNotInitializedException("SnapIn", "OnSelectionDisplayNameChanged");
}
UpdateViewSelectionDisplayNameCommand command = new UpdateViewSelectionDisplayNameCommand();
command.ViewInstanceId = this.ViewInstanceId;
command.DisplayName = displayName;
snapInPlatform.ProcessCommand(command);
}