'Declaration 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 )
Parameters
- path
- The file to open for reading.
- encoding
- The encoding.
- sharing
- The sharing.
Return Value
A string containing all lines of the file.