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
- reader
Type: System.Data.Common.DbDataReader
missingColumnValue
Type: System.StringThe value to return if the column not found in the result set.
Return Value
Type: System.String
.NET Framework Security
- 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.