Share via


IFieldState<T>.SetUnknown(T) Method

Definition

Set this field value in form state to unknown.

public void SetUnknown (T state);
abstract member SetUnknown : 'T -> unit
Public Sub SetUnknown (state As T)

Parameters

state
T

Form state with field value to set to unknown.

Remarks

For value types (numbers, bools, date time) the value is set to null if nullable. For enum types it is set to null if nullable or 0 if not. For non value types like string set the value to null.

Applies to