IFormRegionFactory::GetFormRegionStorage Method (Object^, OlFormRegionMode, OlFormRegionSize)

 

Returns an Outlook Form Storage (.ofs) file.

Namespace:   Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)

array<unsigned char>^ GetFormRegionStorage(
	Object^ outlookItem,
	OlFormRegionMode formRegionMode,
	OlFormRegionSize formRegionSize
)

Parameters

outlookItem
Type: System::Object^

The Outlook item that caused the form region to load.

formRegionMode
Type: Microsoft.Office.Interop.Outlook::OlFormRegionMode

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

formRegionSize
Type: Microsoft.Office.Interop.Outlook::OlFormRegionSize

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

Return Value

Type: array<System::Byte>^

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

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

Return to top
Show: