DataRequestaddStringParameter Method (String, String, Boolean) |
Add a parameter to the request. If request already has parameter by that name, changes the parameter's value
Parameter names are case-insensitive
Namespace:
Kratos_3.Network
Assembly:
Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntaxpublic void addStringParameter(
string name,
string value,
bool addIfEmpty
)
Public Sub addStringParameter (
name As String,
value As String,
addIfEmpty As Boolean
)
public:
void addStringParameter(
String^ name,
String^ value,
bool addIfEmpty
)
member addStringParameter :
name : string *
value : string *
addIfEmpty : bool -> unit
Parameters
- name
- Type: SystemString
Name of parameter to add - value
- Type: SystemString
Value of parameter to add - addIfEmpty
- Type: SystemBoolean
If false, parameter will not be added to the DataRequest if the value is 0 length
ExceptionsException | Condition |
---|
Exception | Thrown if parameter name is empty string |
See Also