Partilhar via


DialogHelper.ShowHelp Method (Control, String)

Displays a help topic.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim parent As Control
Dim helpTopic As String

DialogHelper.ShowHelp(parent, helpTopic)

Syntax

'Declaration
Public Shared Sub ShowHelp ( _
    parent As Control, _
    helpTopic As String _
)
public static void ShowHelp (
    Control parent,
    string helpTopic
)
public:
static void ShowHelp (
    Control^ parent, 
    String^ helpTopic
)
public static void ShowHelp (
    Control parent, 
    String helpTopic
)
public static function ShowHelp (
    parent : Control, 
    helpTopic : String
)

Parameters

  • parent
    [in] System.Windows.Forms.Control object that represents the parent.
  • helpTopic
    [in] Help topic.

Exceptions

Exception type Condition
ArgumentNullException

The parent parameter cannot be null.

ArgumentException

The helpTopic parameter cannot be null or empty.

InvalidOperationException

Could not find the console snap-in necessary to display the Help.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

DialogHelper Class
DialogHelper Members
Microsoft.ConfigurationManagement.AdminConsole Namespace