[This is preliminary documentation and is subject to change.]
Sets a field's value
| C# | Visual Basic | Visual C++ |
public virtual SimpleField SetField( IElementDef id, SifSimpleType val )
Public Overridable Function SetField ( _ id As IElementDef, _ val As SifSimpleType _ ) As SimpleField
public: virtual SimpleField^ SetField ( IElementDef^ id, SifSimpleType^ val )
- id (IElementDef)
- The field definition object
- val (SifSimpleType)
- The value to assign to the field or null if the field should be removed
The internal field object, returned as a convenience so the
caller can mark the field as dirty or empty by calling its setDirty
and setEmpty methods.