MapiMessage.IsMsgFormat

IsMsgFormat(string)

Determines whether the specified file has a MSG format.

public static bool IsMsgFormat(string fileName)
ParameterTypeDescription
fileNameStringName of the file.

Return Value

true if the file is represented in MSG format; otherwise, false.

See Also


IsMsgFormat(Stream)

Determines whether the specified stream has a MSG format.

public static bool IsMsgFormat(Stream stream)
ParameterTypeDescription
streamStreamThe message stream.

Return Value

true if the stream is represented in MSG format]; otherwise, false.

See Also