Properties
Methods
Boolean
#Read a boolean value.
Parameters:
| name (Name) | Name of item. |
Returns: Boolean value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
BooleanArray
#Read a boolean array.
Parameters:
| name (Name) | Name of item. |
Returns: Boolean array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Complex128
#Read a complex number value.
Parameters:
| name (Name) | Name of item. |
Returns: Decimal point value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
DateTime
#Read a datetime value.
Parameters:
| name (Name) | Name of item. |
Returns: Datetime value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Decimal128
#Read a decimal value.
Parameters:
| name (Name) | Name of item. |
Returns: Decimal point value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
FilePath
#Read a file path value.
Parameters:
| name (Name) | Name of item. |
Returns: File path value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
FindItem
#Get the value associatd with the specified name and index.
Parameters:
| name (Name) | Name of value to find. |
Returns: The value linked to the given name and index or null if no such value exists.
FindReader
#Find the reader sub-object by name and index.
Parameters:
| name (Name) | Name of reader to find. |
Returns: The reader identified by the name and index or null if no such reader exists.
GenericArray<T>
#Restore an array of values. This method only works if SupportsArray<T>() returns true for the same type constraint.
Parameters:
| name (Name) | Name of item. |
Returns: Restored values.
Guid128
#Read a Guid value.
Parameters:
| name (Name) | Name of item. |
Returns: Guid value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
GuidArray
#Read a Guid array.
Parameters:
| name (Name) | Name of item. |
Returns: Guid array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
HasItem
#Test whether a certain item exists.
HasItem
#Test whether a certain item exists.
Parameters:
| name (Name) | Name of item to find. |
Returns: True if such an item exists within this reader.
HasItemOrNode
#Gets whether the specified name is available as either an item, or a node.
Parameters:
| name (Name) |
HasNode
#Test whether a certain child node/reader exists.
Parameters:
| name (Name) | Name of node/reader to find. |
Returns: True if node/reader is defined.
Integer32
#Read an integer value.
Parameters:
| name (Name) | Name of item. |
Returns: Integer value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Integer32Array
#Read an integer array.
Parameters:
| name (Name) | Name of item. |
Returns: Integer array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Integer64
#Read an integer value.
Parameters:
| name (Name) | Name of item. |
Returns: Integer value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Integer64Array
#Read an integer array.
Parameters:
| name (Name) | Name of item. |
Returns: Integer array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Integer8
#Read a byte value.
Parameters:
| name (Name) | Name of item. |
Returns: Byte value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Integer8Array
#Read a byte array.
Parameters:
| name (Name) | Name of item. |
Returns: Byte array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
IntegerXx
#Read an integer value.
Parameters:
| name (Name) | Name of item. |
Returns: Integer value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Number32
#Read a floating point value.
Parameters:
| name (Name) | Name of item. |
Returns: Floating point value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Number32Array
#Read a float array.
Parameters:
| name (Name) | Name of item. |
Returns: Float array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Number64
#Read a floating point value.
Parameters:
| name (Name) | Name of item. |
Returns: Floating point value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Number64Array
#Read a float array.
Parameters:
| name (Name) | Name of item. |
Returns: Float array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Storable
#Read a storable object. This method requires that the object was originally written using IWriter.WriteStorable, that the type of the original value had an IdentifierAttribute associated with it and that that identifier is known in the current running context.
Parameters:
| name (Name) | Inner name for data. If null, the current reader will be used. |
Storable<T>
#Read a storable object of a specific type. default(T) will be returned if the name does not point to a valid block.
Parameters:
| name (Name) | Inner name for data. If null, the current reader will be used. |
String
#Read a string value.
Parameters:
| name (Name) | Name of item. |
Returns: String value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
StringArray
#Read a string array.
Parameters:
| name (Name) | Name of item. |
Returns: String array.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
SupportsArray<T>
#Gets whether an array of type T can be automatically restored.
Returns: True if an array of type T can be automatically restored.
TimeSpan
#Read a datetime value.
Parameters:
| name (Name) | Name of item. |
Returns: Datetime value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
TryRead<T>
#Try and read a value if it exists.
Parameters:
| name (Name) | Name of value. |
| valueIfMissing (T) | Value to return if there is no item with the given name. |
Returns: Read value or default.
Type
#Read a type value. Since a type may not be loaded during read, this operation may fail. A list of possible fallback types may be specified, and an identically named one will be picked if the exact type is not found.
Parameters:
| name (Name) | |
| fallbackList (IEnumerable<Type>) | |
| fallback (out Type) |
Type
#Read a type value. Since a type may not be loaded during read, this operation may fail.
Parameters:
| name (Name) | Name of item. |
Returns: Type value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
TypeName
#Read the assembly qualified name of the type.
Parameters:
| name (Name) | Name of item. |
Returns: Type name value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |
Version
#Read a version value.
Parameters:
| name (Name) | Name of item. |
Returns: Version value.
Exceptions:
| KeyNotFoundException | Thrown when the requested name+index do not exist. |