Click or drag to resize
FileReadAllText Method (String)
Opens a text file, reads all lines of the file, and then closes the file.

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax
C#
public override string ReadAllText(
	string path
)

Parameters

path
Type: SystemString
Path to file.

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null
ArgumentExceptionpath is empty or contains invalid characters
PathTooLongExceptionpath is too long
FileNotFoundExceptionpath does not exist
See Also