次の方法で共有


GetHelpCodeMethods.GetHelpUri(PSObject) Method

Definition

Retrieves the HelpUri given a CommandInfo instance.

public:
 static System::String ^ GetHelpUri(System::Management::Automation::PSObject ^ commandInfoPSObject);
public static string GetHelpUri (System.Management.Automation.PSObject commandInfoPSObject);
static member GetHelpUri : System.Management.Automation.PSObject -> string
Public Shared Function GetHelpUri (commandInfoPSObject As PSObject) As String

Parameters

commandInfoPSObject
PSObject

CommandInfo instance wrapped as PSObject

Returns

null if commandInfoPSObject is not a CommandInfo type. null if HelpUri could not be retrieved either from CommandMetadata or help content.

Applies to