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
| Name | Description | |
|---|---|---|
| asBoolean | Returns the result's value as a boolean. | |
| asByte | Returns the result's value as an unsigned byte. | |
| asBytes | Returns the result's value as a byte array. | |
| asDate | Returns the result's value as a Date. | |
| asDOFInterfaceID | Returns the result's value as a DOFInterfaceID. | |
| asDOFObjectID | Returns the result's value as a DOFObjectID. | |
| asDouble | Returns the result's value as a double. | |
| asFloat | Returns the result's value as a float. | |
| asInt | Returns the result's value as an int. | |
| asLong | Returns the result's value as a Long. | |
| asSByte | Returns the result's value as an sbyte. | |
| asShort | Returns the result's value as a short. | |
| asString | Returns the result's value as a String. | |
| asUInt | Returns the result's value as a uint. | |
| asULong | ||
| asUShort | Returns the result's value as a ushort. | |
| get | Returns the result's value, if the result is a Get Property return value.
| |
| getProviderInfo | Get the provider information, if any, associated with this DOFResult. |
Remarks
See Also
Reference
DOFObject.set(Property, DOFValue, int)