2027 Method
Changes 0
M

Entity.Clear

Description:
Resets the field to its default value.
Remarks:
The default value is zero for numeric fields, invalid value for identifiers and entities, and empty for strings and containers. This method is a shortcut that will look up the field by name. If you want to call it on many entities, it is faster if you look up the field yourself.
Overloads (2):
Clear(Field)
Clear(String)
public void Clear(
	string fieldName
)
  • String
    fieldName
    The name of the field to clear.