Class MediaDataReader<TRecord>
Definition
- Namespace:
- Tizen.Content.MediaContent
- Assembly:
- Tizen.Content.MediaContent.dll
Provides a means of reading results obtained by executing a query.
public class MediaDataReader<TRecord> : IMediaDataReader, IDisposable
- Inheritance
-
objectMediaDataReader<TRecord>
- Implements
-
System.IDisposable
Properties
View SourceCurrent
Gets the current record.
Declaration
public TRecord Current { get; }
Property Value
Type | Description |
---|---|
TRecord | The current record if the position is valid; otherwise null. |
Methods
View SourceDispose()
Releases all resources used by the current instance.
Declaration
public void Dispose()
Dispose(bool)
Disposes of the resources (other than memory) used by the MediaDataReader.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Read()
Advances to the next record.
Declaration
public bool Read()
Returns
Type | Description |
---|---|
bool | true if there are more rows; otherwise false. |
Explicit Interface Implementations
View SourceIMediaDataReader.Current
Declaration
object IMediaDataReader.Current { get; }
Returns
Type | Description |
---|---|
object |
Implements
System.IDisposable