|
DataContextAddFieldValueInitializer(String, String) Method
|
Adds a new field value initializer.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax public void AddFieldValueInitializer(
string fieldName,
string initialValueScript = null
)
Public Sub AddFieldValueInitializer (
fieldName As String,
Optional initialValueScript As String = Nothing
)
public:
void AddFieldValueInitializer(
String^ fieldName,
String^ initialValueScript = nullptr
)
member AddFieldValueInitializer :
fieldName : string *
?initialValueScript : string
(* Defaults:
let _initialValueScript = defaultArg initialValueScript null
*)
-> unit
function AddFieldValueInitializer(fieldName, initialValueScript);
View SourceParameters
- fieldName String
- Field name (as defined in model).
- initialValueScript String (Optional)
- Javascript based initial value for field.
See Also