SqlColumnBinder.ColumnExists Method
Checks if column is in the result set.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function ColumnExists ( _
reader As DbDataReader _
) As Boolean
public bool ColumnExists(
DbDataReader reader
)
public:
bool ColumnExists(
DbDataReader^ reader
)
member ColumnExists :
reader:DbDataReader -> bool
public function ColumnExists(
reader : DbDataReader
) : boolean
Parameters
- reader
Type: System.Data.Common.DbDataReader
Return Value
Type: System.Boolean
True if column is in the result set; otherwise false.
.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.