DOFObjectset Method (DOFInterfaceProperty, DOFValue, Int32)OpenDOF Object Access Library
Used by a Requestor to set a property's value.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFResult<DOFValue_Void> set(
	DOFInterfaceProperty property,
	DOFValue value,
	int timeout
)

Parameters

property
Type: org.opendof.core.oalDOFInterfaceProperty
The property. Must not be null.
value
Type: org.opendof.core.oalDOFValue
The value of the property to be set. The data type must match the property's data type.
timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result of the operation. Must be >= 0.

Return Value

Type: DOFResultDOFValue_Void
A DOFResult containing results of the operation (not typically of much interest in this case but it does contain information about the provider that fulfilled the request). For broadcast requests, only the first result received is returned -- use beginSet to get multiple results.
Exceptions

ExceptionCondition
DOFExceptionIndicates an error occurred.
DOFException
Remarks

Used by a Requestor to set a property's value.
See Also

Reference

beginSet(Property, DOFValue, int)