[TIBCO.EMS .NET client library 6.0 documentation]

Modify a property value

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static void SetProperty(
	string key,
	Object val
)
Public Shared Sub SetProperty ( _
	key As String, _
	val As Object _
)
public:
static void SetProperty(
	String^ key, 
	Object^ val
)

Parameters

key
Type: System..::.String
Set the value associated with this property name.
val
Type: System..::.Object
Set the property to this value.

Remarks

In .NET, methods exist to get and set the properties. SetProperty provides an alternate way to set property values, which is consistent with the EMS Java API (for easy porting to .NET).

You can supply any of the following constants:

The constants are defined as static fields of Tibems. The values of those constants are the actual property names.

See Also