Click or drag to resize

MessageInitFields Method (Message)

Sets the value of each field of the Message to the value of its corresponding field in source.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public void InitFields(
	Message source
)

Parameters

source
Type: OBCOM.NetClientMessage
The Message used as source of field values.
Remarks

Two fields are said to correspond if they have the same name and type.

If a field has no corresponding field in source, then its value is set to its default value.

If source is null or if source has no ayout, then this methods operates exactly as the InitFields method.

Nothing happens if the Message does not have a Layout.

See Also