SIFWorks ADK 2.0
SetField Method (id, val)
NamespacesEdustructures.SifWorksSifElementSetField(IElementDef, SifSimpleType)

[This is preliminary documentation and is subject to change.]

Sets a field's value
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
id (IElementDef)
The field definition object
val (SifSimpleType)
The value to assign to the field or null if the field should be removed
Return Value
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.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10