BinElementInfo Class

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update
Namespaces — Interfaces — Classes — Enums — Implements
Contents |
Overview
The BinElementInfo class, derived from the StreamElementInfo class, is streamed in Bin2StreamReader\Bin2StreamWriter format. It helps to process stream content into a list of structure units described with a name, a type (either delta or table) and an offset in the stream where the object placed. It allows to review the stream structure without reading its full content.
The BinElementInfo class is used by the BinDataStreamer.
Location
- Assembly: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract
- Ancestry: NamedObject | StreamElementInfo | BinElementInfo
Properties
| ElementType (declared in StreamElementInfo) |
|---|
|
Represents the current element type. Can be either Dataset or Delta.
|
| Fields (declared in StreamElementInfo) |
|
Gets the SchemaField collection associated with the current StreamElementInfo object.
|
| Key (declared in StreamElementInfo) |
|
Gets the lower-cased Name value prefixed with t# if the ElementType equals Dataset or d# if the ElementType equals Delta. This value is used to uniquely identify an object in the DataStreamer's data stream.
|
| Offset |
|
Gets or sets an offset of the full data of the streamed object within a stream.
|
Instance Methods
| constructor (Object, INameChangeNotification) |
|---|
|
Calls the base constructor that reads the next element with help of the Read(aSource: Object) method.
|
| constructor (String, StreamElementType, INameChangeNotification) protected (declared in StreamElementInfo) |
|
Creates a new instance of the StreamElementInfo class and sets the ElementType property.
|
| constructor (String, StreamElementType, Int64, INameChangeNotification) |
|
Creates a class instance with a specified name and type and sets its offset.
|
| Read |
|
Reads the next BinElementInfo item from the DelphiStreamReader and sets its ElementType,Name and Offset'.
|
| ReadAndApplySchema protected |
|
Reads an element from the DelphiStreamReader and applies a read schema to the destination DataTable. Raises an exception (DAException) if the schema for the specified table cannot be found. Restores the DelphiStreamReader position after reading. Disabled in SilverLight applications.
|
| Write |
|
Writes the element to the specified DelphiStreamWriter.
|
See Also
- Lists
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects Script for .NET: Namespaces — Classes
- Data Abstract shared: Data Types – File Types
- other editions:
- Data Abstract for Xcode: Protocols — Classes — Enums — Implements
- Data Abstract for Delphi: Interfaces — Classes — Enums — Aliases — Implements
- Data Abstract for Java: Namespaces — Interfaces — Classes — Enums — Implements
- Data Abstract for JavaScript: Objects
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements

Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode