SqlDataRecord.GetSqlSingle(Int32) 메서드

정의

서수로 지정된 열의 값을 SqlSingle로 가져옵니다.

public:
 virtual System::Data::SqlTypes::SqlSingle GetSqlSingle(int ordinal);
public virtual System.Data.SqlTypes.SqlSingle GetSqlSingle (int ordinal);
abstract member GetSqlSingle : int -> System.Data.SqlTypes.SqlSingle
override this.GetSqlSingle : int -> System.Data.SqlTypes.SqlSingle
Public Overridable Function GetSqlSingle (ordinal As Integer) As SqlSingle

매개 변수

ordinal
Int32

열의 0부터 시작하는 서수입니다.

반환

SqlSingle로서의 열 값입니다.

예외

ordinal이 0보다 작거나 열 수(즉, FieldCount)보다 큰 경우

형식이 일치하지 않습니다.

적용 대상