During runtime, writes the specified value to the data value of the DataSource property.

Namespace: Ico.Gwx
Assembly: GwxRuntimeCore (in GwxRuntimeCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public bool WriteValueToPrimaryDataSource(
	Object newValue
)
Visual Basic
Public Function WriteValueToPrimaryDataSource ( _
	newValue As Object _
) As Boolean
JScript
public function WriteValueToPrimaryDataSource(
	newValue : Object
) : boolean

Parameters

newValue
Type: System..::..Object
The value to write.

Return Value

True if write successfully initiated. False if write failed.

Remarks

This method is asynchronous. A return value of true does not necessarily mean that the write completed successfully, rather it means that the asynchronous write was successfully started. Write-complete or write-failure notification is provided via the DataValueWriteCompleted and DataValueWriteFailed events.

See Also