CollectorSetProperty Method

Client applications wishing to associate their own metadata properties can associate key=value strings to the Collector.

Definition

Namespace: Dfx.Sdk
Assembly: Nuralogix.Dfx.Sdk (in Nuralogix.Dfx.Sdk.dll) Version: 4.12.0.0 (4.12.0.0)
C#
public bool SetProperty(
	string key,
	string property
)

Parameters

key  String
a key identifier for the metadata. If the key already exists it will be replaced
property  String
the value to associate with the key

Return Value

Boolean
true if property was set, false otherwise

Remarks

If there is metadata that a client applications wishes to tag against a Collector request, ie. barcode or participant name they should invoke setProperty() with the appropriate value to ensure that it is properly encoded into the Chunk Payload.

See Also