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

OnPasteTargetInfoChanged() private method

private OnPasteTargetInfoChanged ( PasteTargetInfo selectionPasteInfo ) : void
selectionPasteInfo Microsoft.ManagementConsole.Internal.PasteTargetInfo
return void
        internal void OnPasteTargetInfoChanged(PasteTargetInfo selectionPasteInfo)
        {
            ISnapInPlatform snapInPlatform = this.SnapIn.SnapInPlatform;
            if (snapInPlatform == null)
            {
                throw Microsoft.ManagementConsole.Internal.Utility.CreateClassNotInitializedException("SnapIn", "OnPasteTargetInfoChanged");
            }
            UpdateViewPasteTargetInfoCommand command = new UpdateViewPasteTargetInfoCommand();
            command.ViewInstanceId = this.ViewInstanceId;
            command.PasteTargetInfo = selectionPasteInfo;
            snapInPlatform.ProcessCommand(command);
        }