Click or drag to resize

LayoutFieldSetDefault Method

Updates the index occurence of the field in message to its default value.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public virtual void SetDefault(
	Message message,
	int index
)

Parameters

message
Type: OBCOM.NetClientMessage
The message that will be updated.
index
Type: SystemInt32
The occurence index of the field.
Exceptions
ExceptionCondition
IndexOutOfRangeException If index is out of bounds.
Remarks
If the field's default value is invalid, then the type's default value is used.
See Also