SqlColumnBinder.GetString Method (DbDataReader, String)

Retrieves the value of this column as a string from the given reader.

null will be returned if DB column is NULL.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetString ( _
    reader As DbDataReader, _
    missingColumnValue As String _
) As String
public string GetString(
    DbDataReader reader,
    string missingColumnValue
)
public:
String^ GetString(
    DbDataReader^ reader, 
    String^ missingColumnValue
)
member GetString : 
        reader:DbDataReader * 
        missingColumnValue:string -> string
public function GetString(
    reader : DbDataReader, 
    missingColumnValue : String
) : String

Parameters

  • missingColumnValue
    Type: System.String

    The value to return if the column not found in the result set.

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetString Overload

Microsoft.TeamFoundation.Framework.Server Namespace