Partager via


AdoDotNetDataReader.GetItem Method (String)

Retrieves an object instance representing the retrievable item as specified by name.

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

Syntax

'Declaration
Public Overrides Function GetItem ( _
    name As String _
) As Object
public override Object GetItem(
    string name
)
public:
virtual Object^ GetItem(
    String^ name
) override
abstract GetItem : 
        name:string -> Object  
override GetItem : 
        name:string -> Object
public override function GetItem(
    name : String
) : Object

Parameters

  • name
    Type: System.String

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

Return Value

Type: System.Object
Returns an object specified by name.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The name parameter is invalid.

.NET Framework Security

See Also

Reference

AdoDotNetDataReader Class

GetItem Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace

GetItem