A field can be cleared, and its null field flag set, by calling CTRecord.ClearField() method. Call CTRecord.IsNullField() to check if a field null flag is set.
// if a field 0 is not null, clear the field
if (!ARecord.IsNullField(0))
{
try
{
ARecord.ClearField(0);
}
catch (CTException err)
{
Console.Write("Clear field failed with error {0}\n", err.GetErrorCode());
}
}