Sets both the key and the value properties at once

Namespace: Asi.iBO
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public void SetBoth(
	string key,
	string value
)
Visual Basic
Public Sub SetBoth ( _
	key As String, _
	value As String _
)
Visual C++
public:
void SetBoth(
	String^ key, 
	String^ value
)

Parameters

key
Type: System..::..String
The Key used to represent the value
value
Type: System..::..String
The Value represented by the key

Examples

This struct is typically used to represent "key=value" type pairs. If the pair being represented was "UserName=Rob" both of these properties could be set with one call to this method, like:

SetBoth("UserName","Rob");

See Also