IFormRegionFactory.GetFormRegionStorage(Object, OlFormRegionMode, OlFormRegionSize) Method

Definition

Returns an Outlook Form Storage (.ofs) file.

public byte[] GetFormRegionStorage (object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize);

Parameters

outlookItem
Object

The Outlook item that caused the form region to load.

formRegionMode
OlFormRegionMode

The mode of the Outlook item that caused the form region to load. This mode is represented by the OlFormRegionMode enumeration.

formRegionSize
OlFormRegionSize

The type of form region being loaded. This mode is represented by the OlFormRegionSize enumeration.

Returns

Byte[]

A Byte array that contains the contents of the .ofs file.

Remarks

This method is called only if the Kind property of the form region factory returns the Ofs enumeration value.

Applies to