PowerTools MultiRow for Windows Forms 8.0J
LoadFile(Stream,RichTextBoxStreamType) メソッド

RichTextBoxCellに読み込むデータのストリーム。
System.Windows.Forms.RichTextBoxStreamType値の1つ。
既存のデータストリームの内容をRichTextBoxCellに読み込みます。
構文
Public Overloads Sub LoadFile( _
   ByVal data As Stream, _
   ByVal fileType As RichTextBoxStreamType _
) 
public void LoadFile( 
   Stream data,
   RichTextBoxStreamType fileType
)

パラメータ

data
RichTextBoxCellに読み込むデータのストリーム。
fileType
System.Windows.Forms.RichTextBoxStreamType値の1つ。
例外
例外解説
System.ArgumentException 読み込まれるファイルがRTFドキュメントではありません。
System.IO.IOException コントロールへのファイルの読み込み中にエラーが発生しました。
解説

このメソッドは、GcMultiRowのハンドルが作成されているかどうかにかかわらず、ファイルを直接開いて読み込みます。

詳細については、MSDNのSystem.Windows.Forms.RichTextBoxコントロールの解説を参照してください。

参照

RichTextBoxCell クラス
RichTextBoxCell メンバ
オーバーロード一覧
LoadFile(String) メソッド
LoadFile(String,RichTextBoxStreamType) メソッド

 

 


© 2008-2015 GrapeCity inc. All rights reserved.