Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
Visual Basic |
---|
Dim parent As Control Dim helpTopic As String DialogHelper.ShowHelp(parent, helpTopic) |
Syntax
Visual Basic |
---|
Public Shared Sub ShowHelp ( _ parent As Control, _ helpTopic As String _ ) |
C# |
---|
public static void ShowHelp ( Control parent, string helpTopic ) |
C++ |
---|
public: static void ShowHelp ( Control^ parent, String^ helpTopic ) |
J# |
---|
public static void ShowHelp ( Control parent, String helpTopic ) |
JScript |
---|
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.