PipelineBuffer.GetUInt16(Int32) メソッド

定義

重要

この API は CLS 準拠ではありません。

バッファー列に格納されている ushort 値を取得します。

public:
 System::UInt16 GetUInt16(int columnIndex);
[System.CLSCompliant(false)]
public ushort GetUInt16 (int columnIndex);
[<System.CLSCompliant(false)>]
member this.GetUInt16 : int -> uint16
Public Function GetUInt16 (columnIndex As Integer) As UShort

パラメーター

columnIndex
Int32

バッファー行の列のインデックスです。

戻り値

バッファー列に格納されている ushort。

属性

注釈

このメソッドは、Integration Services の DT_UI2 データ型で動作します。

バッファー列 DataTypeDT_UI2 ではない場合、PipelineBufferUnsupportedBufferDataTypeException を生成します。

列の値が null の場合、PipelineBufferColumnIsNullException を生成します。 null かどうかは IsNull メソッドを呼び出して確認できます。

Integration Services データ型の完全な一覧と、各型で使用するクラスのPipelineBuffer対応するGetSetメソッドについては、「Data Flowでのデータ型の操作」を参照してください。

適用対象