[TIBCO.EMS .NET client library 5.1 documentation]

Sets a byte array value with the specified name into the Map.

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

Syntax

public void SetBytes(
	string name,
	byte[] value
)
Public Sub SetBytes ( _
	name As String, _
	value As Byte() _
)
public:
void SetBytes(
	String^ name, 
	array<unsigned char>^ value
)

Parameters

name
Type: System..::.String
The name of the byte array.
value
Type: array< System..::.Byte >[]()[]
The byte array value to set in the Map

Exceptions

ExceptionCondition
TIBCO.EMS..::.MessageNotWriteableExceptionAn MessageNotWriteableException may be thrown if the message is in read-only mode
System..::.ArgumentExceptionAn ArgumentException may be thrown if the name is null or if the name is an empty string

See Also