DOFObjectget Method (DOFInterfaceProperty, Int32)OpenDOF Object Access Library
Used by a Requestor to get 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> get(
	DOFInterfaceProperty property,
	int timeout
)

Parameters

property
Type: org.opendof.core.oalDOFInterfaceProperty
The property. Must not be null.
timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result of the operation. Must be >= 0.

Return Value

Type: DOFResultDOFValue
The property's value. For broadcast requests, only the first result received is returned -- use beginGet to get multiple results.
Exceptions

ExceptionCondition
DOFErrorExceptionIndicates an error occurred.
DOFException
Remarks

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

Reference

beginGet(Property, int)