'宣言 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.