IFormRegionFactory.GetFormRegionStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.