Sdílet prostřednictvím


IFormRegionFactory.GetFormRegionStorage Method

Definition

Returns an Outlook Form Storage (.ofs) file.

public:
 cli::array <System::Byte> ^ GetFormRegionStorage(System::Object ^ outlookItem, Microsoft::Office::Interop::Outlook::OlFormRegionMode formRegionMode, Microsoft::Office::Interop::Outlook::OlFormRegionSize formRegionSize);
public byte[] GetFormRegionStorage (object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize);
abstract member GetFormRegionStorage : obj * Microsoft.Office.Interop.Outlook.OlFormRegionMode * Microsoft.Office.Interop.Outlook.OlFormRegionSize -> byte[]
Public Function GetFormRegionStorage (outlookItem As Object, formRegionMode As OlFormRegionMode, formRegionSize As OlFormRegionSize) As Byte()

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