Class MediaDataReader<TRecord>

Definition

Namespace:
Tizen.Content.MediaContent
Assembly:
Tizen.Content.MediaContent.dll

Provides a means of reading results obtained by executing a query.

C#
Copy
public class MediaDataReader<TRecord> : IMediaDataReader, IDisposable
Inheritance
object
MediaDataReader<TRecord>
Implements
System.IDisposable

Properties

View Source

Current

Gets the current record.

Declaration
C#
Copy
public TRecord Current { get; }
Property Value
Type Description
TRecord

The current record if the position is valid; otherwise null.

Methods

View Source

Dispose()

Releases all resources used by the current instance.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Disposes of the resources (other than memory) used by the MediaDataReader.

Declaration
C#
Copy
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.

View Source

Read()

Advances to the next record.

Declaration
C#
Copy
public bool Read()
Returns
Type Description
bool

true if there are more rows; otherwise false.

Explicit Interface Implementations

View Source

IMediaDataReader.Current

Declaration
C#
Copy
object IMediaDataReader.Current { get; }
Returns
Type Description
object

Implements

System.IDisposable