Redigera

Dela via


FederationMessage.SetParameter(String, String) Method

Definition

Sets the value of a parameter in the parameters dictionary.

public:
 void SetParameter(System::String ^ parameter, System::String ^ value);
public void SetParameter (string parameter, string value);
member this.SetParameter : string * string -> unit
Public Sub SetParameter (parameter As String, value As String)

Parameters

parameter
String

The name of the parameter to set.

value
String

The value to be assigned to the parameter.

Exceptions

parameter is null or an empty string.

-or-

value is null or an empty string.

Remarks

If the parameter does not exist in the dictionary, it is added to it. The parameters dictionary is accessed through the Parameters property.

Applies to