FederationMessage.GetParameter(String) 方法

定义

从参数字典中返回指定的参数值。Returns the specified parameter value from the parameters dictionary.

public:
 System::String ^ GetParameter(System::String ^ parameter);
public string GetParameter (string parameter);
member this.GetParameter : string -> string
Public Function GetParameter (parameter As String) As String

参数

parameter
String

要进行搜索的参数。The parameter for which to search.

返回

String

参数或 null 的值,(如果参数不存在)。The value of the parameter or null if the parameter does not exist.

例外

parameternull 或空字符串。parameter is null or an empty string.

注解

通过属性访问参数字典 ParametersThe parameters dictionary is accessed through the Parameters property.

适用于