CollectionElementAddOrUpdateScalar Method

Updates the value of the scalar element identified by the given tag or adds a new scalar element if one does not already exist.

Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.171 -- Release Build+af1e6271f2015b03a58bc9ef784f0f2b9eeab0d2
public ScalarElement AddOrUpdateScalar(
	Guid tag,
	PhysicalType type,
	byte[] bytes
)

Parameters

tag  Guid
The tag which identifies the scalar element to be updated.
type  PhysicalType
The physical type of the value contained in the scalar element.
bytes  Byte
The value to be entered into the scalar element.

Return Value

ScalarElement
The scalar element which was updated, or a new scalar element if one did not already exist.

See Also