Microsoft.ManagementConsole.FormView.ProcessCmdKey C# (CSharp) Method

ProcessCmdKey() private method

private ProcessCmdKey ( ) : bool
return bool
        internal bool ProcessCmdKey()
        {
            ProcessViewCmdKeyCommand command = new ProcessViewCmdKeyCommand();
            command.ViewInstanceId = base.ViewInstanceId;
            ISnapInPlatform snapInPlatform = base.SnapIn.SnapInPlatform;
            if (snapInPlatform == null)
            {
                throw new InvalidOperationException(Microsoft.ManagementConsole.Internal.Utility.LoadResourceString(Microsoft.ManagementConsole.Internal.Strings.ExceptionCommonSnapInPlatformIsNull));
            }
            ProcessViewCmdKeyCommandResult result = snapInPlatform.ProcessCommand(command) as ProcessViewCmdKeyCommandResult;
            if (result == null)
            {
                return false;
            }
            return result.Handled;
        }