Bitmap for WPF
ReadAllText(String,Encoding,NativeFileShare) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Storage 名前空間 > NativeFile クラス > ReadAllText メソッド : ReadAllText(String,Encoding,NativeFileShare) メソッド
The file to open for reading.
The encoding.
The sharing.
Opens a text file, reads all lines of the file, and then closes the file.
シンタックス
'宣言
 
Public Overloads Shared Function ReadAllText( _
   ByVal path As System.String, _
   ByVal encoding As System.Text.Encoding, _
   Optional ByVal sharing As NativeFileShare _
) As System.String
public static System.string ReadAllText( 
   System.string path,
   System.Text.Encoding encoding,
   NativeFileShare sharing
)

パラメータ

path
The file to open for reading.
encoding
The encoding.
sharing
The sharing.

戻り値の型

A string containing all lines of the file.
参照

NativeFile クラス
NativeFile メンバ
オーバーロード一覧