Appearance
ReadAllTextNoLock Method
Definition
- Namespace:
JASE.IO - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
string ReadAllTextNoLock(FileInfo fileInfo) | Reads all text from a file without holding a long-term exclusive lock. |
string ReadAllTextNoLock(string filename) | Reads all text from a file without holding a long-term exclusive lock. |
string ReadAllTextNoLock(FileInfo fileInfo)
csharp
string ReadAllTextNoLock(FileInfo fileInfo)Reads all text from a file without holding a long-term exclusive lock.
Parameters
| Name | Description |
|---|---|
fileInfo | The file to read. |
Returns
A string containing the file contents.
string ReadAllTextNoLock(string filename)
csharp
string ReadAllTextNoLock(string filename)Reads all text from a file without holding a long-term exclusive lock.
Parameters
| Name | Description |
|---|---|
filename | The path to the file to read. |
Returns
A string containing the file contents.