DataReader Class

 

Provides the ability to expose data from any data.

Namespace:   Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)


public ref class DataReader abstract : IDisposable

NameDescription
System_CAPS_protmethodDataReader()

Class constructor. Instantiates a nonparameterized instance of the DataReader class.

NameDescription
System_CAPS_pubpropertyIsClosed

Retrieves a Boolean value that indicates whether the specified reader has been closed.

System_CAPS_pubpropertyItemCount

Retrieves the number of items in the current block of data.

System_CAPS_pubpropertyStatus

Retrieves a numerical status code returned by the method currently providing data to the data reader.

NameDescription
System_CAPS_pubmethodClose()

Closes the DataReader instance.

System_CAPS_pubmethodDispose()

Releases managed resources held for the current DataReader instance.

System_CAPS_protmethodDispose(Boolean)

Cleans up resources associated with the current DataReader instance, both when the public Dispose method is called and as well as when the object is finalized with a call to the Finalize method.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Finalizes the current DataReader instance.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetBytes(Int32, array<Byte>^, Int32, Int32)

Retrieves a specified number of bytes of raw binary data.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetItem(Int32)

Retrieves the value of the item at the specified index in the current block of data.

System_CAPS_pubmethodGetItem(String^)

Retrieves the value of a data item with the specified name in the current block of data.

System_CAPS_pubmethodGetItemMaxLength(Int32)

Retrieves the maximum length, in characters, of data items at the specified index.

System_CAPS_pubmethodGetItemName(Int32)

Retrieves the name assigned to the data item at the specified index, if any.

System_CAPS_pubmethodGetItemType(Int32, DataItemTypeFormat)

Retrieves the data type of a data item item, or items, at the specified index in a specified format.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsNullItem(Int32)

Indicates whether the data item at the specified index is unspecified, that is, null.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNextResult()

Advances the data reader to the next result in cases where the reader contains multiple results.

System_CAPS_pubmethodRead()

Advances the reader to the next block of data in cases where the reader contains more than one block.

System_CAPS_pubmethodTerminate()

Terminates the data reader immediately, without necessarily returning all of the data nor setting output parameters.

System_CAPS_pubmethodToString()

(Inherited from Object.)

All base-level data retrieval mechanisms return a DataReader object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: