Load

PersonalStorage.Load method (1 of 2)

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

public bool Load(string fileName)
Parameter Type Description
fileName String The name of .pst file.

Return Value

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

Exceptions

exception condition
ArgumentNullException fileName - File name can not be null or empty

See Also


PersonalStorage.Load method (2 of 2)

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

public bool Load(Stream stream)
Parameter Type Description
stream Stream The System.IO.Stream.

Return Value

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

See Also