你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Module.GetParameter(InvocationInfo, String, 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.
Gets parameters from a common module.
public object GetParameter (System.Management.Automation.InvocationInfo invocationInfo, string correlationId, string parameterName);
member this.GetParameter : System.Management.Automation.InvocationInfo * string * string -> obj
Public Function GetParameter (invocationInfo As InvocationInfo, correlationId As String, parameterName As String) As Object
Parameters
- invocationInfo
- InvocationInfo
The InvocationInfo from the cmdlet
- correlationId
- String
the cmdlet's correlation id.
- parameterName
- String
The name of the parameter to get the value for.
Returns
The parameter value from the common module. (Note: this should be type converted on the way back)