ProxyCommand.GetHelpComments(PSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Construct the text that can be used in a multi-line comment for get-help.
public:
static System::String ^ GetHelpComments(System::Management::Automation::PSObject ^ help);
public static string GetHelpComments (System.Management.Automation.PSObject help);
static member GetHelpComments : System.Management.Automation.PSObject -> string
Public Shared Function GetHelpComments (help As PSObject) As String
Parameters
- help
- PSObject
A custom PSObject created by Get-Help.
Returns
A string that can be used as the help comment for script for the input HelpInfo object.
Exceptions
When the help argument is null.
When the help argument is not recognized as a HelpInfo object.