CommandInfo.ResolveParameter(String) 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.
Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using PowerShell's standard parameter resolution algorithm.
public:
System::Management::Automation::ParameterMetadata ^ ResolveParameter(System::String ^ name);
public System.Management.Automation.ParameterMetadata ResolveParameter (string name);
member this.ResolveParameter : string -> System.Management.Automation.ParameterMetadata
Public Function ResolveParameter (name As String) As ParameterMetadata
Parameters
- name
- String
The name of the parameter to resolve.
Returns
The parameter that matches this name.