Microsoft.ManagementConsole.SnapInBase.ShowHelpTopic C# (CSharp) Method

ShowHelpTopic() public method

public ShowHelpTopic ( string helpTopic ) : void
helpTopic string
return void
        public void ShowHelpTopic(string helpTopic)
        {
            Microsoft.ManagementConsole.Internal.Utility.CheckStringNullOrEmpty(helpTopic, "helpTopic", true);
            ISnapInPlatform snapInPlatform = this.SnapInPlatform;
            if (snapInPlatform == null)
            {
                throw new InvalidOperationException(Microsoft.ManagementConsole.Internal.Utility.LoadResourceString(Microsoft.ManagementConsole.Internal.Strings.ExceptionCommonSnapInPlatformIsNull));
            }
            ShowHelpTopicCommand command = new ShowHelpTopicCommand();
            command.HelpTopic = helpTopic;
            snapInPlatform.ProcessCommand(command);
        }