DOFResultT InterfaceOpenDOF Object Access Library
DOFResult encapsulates possible errors returned by a DOF request along with information about the provider of the result.

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

C#
public interface DOFResult<T> : DOFImmutable

Type Parameters

T

The DOFResultT type exposes the following members.

Methods

  NameDescription
Public methodasBoolean
Returns the result's value as a boolean.
Public methodasByte
Returns the result's value as an unsigned byte.
Public methodasBytes
Returns the result's value as a byte array.
Public methodasDate
Returns the result's value as a Date.
Public methodasDOFInterfaceID
Returns the result's value as a DOFInterfaceID.
Public methodasDOFObjectID
Returns the result's value as a DOFObjectID.
Public methodasDouble
Returns the result's value as a double.
Public methodasFloat
Returns the result's value as a float.
Public methodasInt
Returns the result's value as an int.
Public methodasLong
Returns the result's value as a Long.
Public methodasSByte
Returns the result's value as an sbyte.
Public methodasShort
Returns the result's value as a short.
Public methodasString
Returns the result's value as a String.
Public methodasUInt
Returns the result's value as a uint.
Public methodasULong
Public methodasUShort
Returns the result's value as a ushort.
Public methodget
Returns the result's value, if the result is a Get Property return value.
Public methodgetProviderInfo
Get the provider information, if any, associated with this DOFResult.
Top
Remarks

DOFResult encapsulates possible errors returned by a DOF request along with information about the provider of the result. Each DOFResult corresponds to a single request, and only the requestor is given access to it. Actual values are available in derivatives.
See Also

Reference

DOFObject.set(Property, DOFValue, int)