Compartir a través de


DataReader.GetItem Method (String)

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

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

Syntax

'Declaration
Public Overridable Function GetItem ( _
    name As String _
) As Object
public virtual Object GetItem(
    string name
)
public:
virtual Object^ GetItem(
    String^ name
)
abstract GetItem : 
        name:string -> Object  
override GetItem : 
        name:string -> Object
public 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
The string value of the item with the specified name.

Implements

IVsDataReader.GetItem(String)

.NET Framework Security

See Also

Reference

DataReader Class

GetItem Overload

Microsoft.VisualStudio.Data.Framework Namespace

GetItem