SaveOptions.CreateSaveOptions

SaveOptions.CreateSaveOptions method

Creates a save options object of a class suitable for the specified save type.

public static SaveOptions CreateSaveOptions(MailMessageSaveType saveType)
ParameterTypeDescription
saveTypeMailMessageSaveTypeThe save type for which to create a save options object.

Return Value

An object of a class that derives from SaveOptions.

See Also