Share via


ModuleSpecification.TryParse(String, ModuleSpecification) Method

Definition

Parse the specified string into a ModuleSpecification object.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::PowerShell::Commands::ModuleSpecification ^ % result);
 static bool TryParse(std::wstring const & input, [Runtime::InteropServices::Out] Microsoft::PowerShell::Commands::ModuleSpecification const & & result);
public static bool TryParse (string input, out Microsoft.PowerShell.Commands.ModuleSpecification result);
static member TryParse : string * ModuleSpecification -> bool
Public Shared Function TryParse (input As String, ByRef result As ModuleSpecification) As Boolean

Parameters

input
String

The module specification string.

result
ModuleSpecification

The ModuleSpecification object.

Returns

Applies to