Symphony Framework
SetFieldReadOnlyStatus Method
Symphony.Conductor.Model Namespace > DataObjectBase Class : SetFieldReadOnlyStatus Method
Boolean value indicating if the field is read-only.
The field name to apply enabled state to.
Allow the comsumer class of a Symphony Data Object to change the RadOnly status of fields.
Syntax
public void SetFieldReadOnlyStatus( 
   bool readOnlyOn,
   string fieldNameString
)

Parameters

readOnlyOn
Boolean value indicating if the field is read-only.
fieldNameString
The field name to apply enabled state to.
Remarks
Allow the comsumer class of a Symphony Data Object to set the readonly property of fields. The individual field ReadOnly properties can be set but this routines allows for a comma separated string of fields to be set "on-mass". _NEWLINE_ By defualt all fields will be set to IsReadOnly = false. _NEWLINE_ The routine will accept either the Synergy field name, in uppercase, or the correctly cased property name. The field name is case sensitive. You can also spesify *ALL* to set all fields.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataObjectBase Class
DataObjectBase Members