PipelineBuffer.GetString(Int32) メソッド

定義

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

public:
 System::String ^ GetString(int columnIndex);
public string GetString (int columnIndex);
member this.GetString : int -> string
Public Function GetString (columnIndex As Integer) As String

パラメーター

columnIndex
Int32

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

戻り値

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

注釈

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

バッファー列に割り当てられている値が文字列ではないか、またはバッファー列 DataTypeDT_STRDT_WSTRDT_TEXT、または DT_NTEXT ではない場合、UnsupportedBufferDataTypeException が発生します。

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

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

適用対象