Condividi tramite


IVsDataReader.GetItem Method

Definition

Overloads

GetItem(Int32)

When implemented by a class, retrieves the value of the item at the specified index in the current block of data.

GetItem(String)

When implemented by a class, retrieves the value of a data item with the specified name in the current block of data.

GetItem(Int32)

When implemented by a class, retrieves the value of the item at the specified index in the current block of data.

public:
 System::Object ^ GetItem(int index);
public object GetItem (int index);
abstract member GetItem : int -> obj
Public Function GetItem (index As Integer) As Object

Parameters

index
Int32

Index in the current block of the data item at which to retrieve the integer value.

Returns

An integer value from the specified index in the current block of data.

Applies to

GetItem(String)

When implemented by a class, retrieves the value of a data item with the specified name in the current block of data.

public:
 System::Object ^ GetItem(System::String ^ name);
public object GetItem (string name);
abstract member GetItem : string -> obj
Public Function GetItem (name As String) As Object

Parameters

name
String

The name of the data item in the current block to retrieve.

Returns

The string value of the item with the specified name.

Applies to