PersonalStorage.Load

Load(string)

Load PST from file. This method is used when a PersonalStorage object is created using the constructor.

public bool Load(string fileName)
ParameterTypeDescription
fileNameStringThe name of .pst file.

Return Value

’true’ if the file has been loaded successfully and further traversal is possible; otherwise, false.

Exceptions

exceptioncondition
ArgumentNullExceptionfileName - File name can not be null or empty

See Also


Load(Stream)

Load PST from stream. This method is used when a PersonalStorage object is created using the constructor.

public bool Load(Stream stream)
ParameterTypeDescription
streamStreamThe System.IO.Stream.

Return Value

’true’ if the file has been loaded successfully and further traversal is possible; otherwise, false.

See Also