Class MediaDataReader<TRecord>

Definition

Namespace:
Tizen.Content.MediaContent
Assembly:
Tizen.Content.MediaContent.dll
API Level:
4

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

C#
Copy
public class MediaDataReader<TRecord> : IMediaDataReader, IDisposable
Inheritance
System.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.

API Level: 4

Methods

View Source

Dispose()

Releases all resources used by the current instance.

Declaration
C#
Copy
public void Dispose()
API Level: 4
View Source

Dispose(Boolean)

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

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

API Level: 4
View Source

Read()

Advances to the next record.

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

true if there are more rows; otherwise false.

API Level: 4

Explicit Interface Implementations

View Source

IMediaDataReader.Current

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

Implements

System.IDisposable