Microsoft.ManagementConsole.View.OnSelectionDisplayNameChanged C# (CSharp) Method

OnSelectionDisplayNameChanged() private method

private OnSelectionDisplayNameChanged ( string displayName ) : void
displayName string
return void
        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);
        }