Condividi tramite


SqlCeDataReader Members

SqlCeDataReader overview

Public Properties

public propertyDepth

Supported only by the .NET Compact Framework.

Gets a value indicating the depth of nesting for the current row.
public propertyFieldCount

Supported only by the .NET Compact Framework.

Gets the number of columns in the current row.
public propertyIsClosed

Supported only by the .NET Compact Framework.

Indicates whether the data reader is closed.
public propertyItem Overloaded. Gets the value of a column in its native format.

In C#, this property is the indexer for the SqlCeDataReader class.

public propertyRecordsAffected

Supported only by the .NET Compact Framework.

Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

Public Methods

public methodClose

Supported only by the .NET Compact Framework.

Closes the SqlCeDataReader object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported only by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetBoolean

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a Boolean.
public methodGetByte

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a byte.
public methodGetBytes

Supported only by the .NET Compact Framework.

Reads a stream of bytes from the specified column offset into the buffer as an array starting at the given buffer offset.
public methodGetChar

Supported only by the .NET Compact Framework.

Not supported in the .NET Compact Framework data provider for SQL Server CE.
public methodGetChars

Supported only by the .NET Compact Framework.

Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
public methodGetDataTypeName

Supported only by the .NET Compact Framework.

Gets the name of the source data type.
public methodGetDateTime

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a DateTime object.
public methodGetDecimal

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a Decimal object.
public methodGetDouble

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a double-precision floating point number.
public methodGetFieldType

Supported only by the .NET Compact Framework.

Gets the Type that is the data type of the object.
public methodGetFloat

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a single-precision floating point number.
public methodGetGuid

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a globally unique identifier (GUID).
public methodGetHashCode (inherited from Object)

Supported only by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetInt16

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a 16-bit signed integer.
public methodGetInt32

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a 32-bit signed integer.
public methodGetInt64

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a 64-bit signed integer.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetName

Supported only by the .NET Compact Framework.

Gets the name of the specified column.
public methodGetOrdinal

Supported only by the .NET Compact Framework.

Gets the column ordinal, given the name of the column.
public methodGetSchemaTable

Supported only by the .NET Compact Framework.

Returns a DataTable that describes the column meta data of the SqlCeDataReader.
public methodGetSqlBinary

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlBinary.
public methodGetSqlBoolean

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlBoolean.
public methodGetSqlByte

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlByte.
public methodGetSqlDateTime

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlDateTime.
public methodGetSqlDecimal

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlDecimal.
public methodGetSqlDouble

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlDouble.
public methodGetSqlGuid

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlGuid.
public methodGetSqlInt16

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlInt16.
public methodGetSqlInt32

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlInt32.
public methodGetSqlInt64

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlInt64.
public methodGetSqlMoney

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlMoney.
public methodGetSqlSingle

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlSingle.
public methodGetSqlString

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a SqlString.
public methodGetString

Supported only by the .NET Compact Framework.

Gets the value of the specified column as a string.
public methodGetType (inherited from Object)

Supported only by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetValue

Supported only by the .NET Compact Framework.

Gets the value of the column at the specified ordinal in its native format.
public methodGetValues

Supported only by the .NET Compact Framework.

Gets all the attribute columns in the current row.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsDBNull

Supported only by the .NET Compact Framework.

Gets a value indicating whether the column contains nonexistent or missing values.
public methodNextResult

Supported only by the .NET Compact Framework.

Not supported in the .NET Compact Framework data provider for SQL Server CE.
public methodRead

Supported only by the .NET Compact Framework.

Advances SqlCeDataReader to the next record.
public methodSeek

Supported only by the .NET Compact Framework.

Places the SqlCeDataReader on the record with indexed values that match the specified parameters.
public methodToString (inherited from Object)

Supported only by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize

Supported only by the .NET Compact Framework.

Overridden.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported only by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlCeDataReader Class | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.