Retrieves a data item at a specified index.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Overrides Function GetItem ( _
index As Integer _
) As Object
'使用
Dim instance As AdoDotNetDataTableReader
Dim index As Integer
Dim returnValue As Object
returnValue = instance.GetItem(index)
public override Object GetItem(
int index
)
public:
virtual Object^ GetItem(
int index
) override
public override function GetItem(
index : int
) : Object
Parameters
index
Type: System.Int32Index into the field specifying the data item to retrieve.
Return Value
Type: System.Object
Returns an object representing the item at the specified index.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AdoDotNetDataTableReader Class
AdoDotNetDataTableReader Members