MapiAttachment.LoadFromTnef

LoadFromTnef(string)

Load MapiAttachment from file with tnef content.

public static MapiAttachment LoadFromTnef(string fileName)
ParameterTypeDescription
fileNameStringSource file path.

Return Value

MapiAttachment

Exceptions

exceptioncondition
ArgumentNullExceptionIf fileName is null.

See Also


LoadFromTnef(Stream)

Load MapiAttachment from stream with tnef content.

public static MapiAttachment LoadFromTnef(Stream stream)
ParameterTypeDescription
streamStreamSource stream

Return Value

MapiAttachment

See Also