Share via


IFormRegionFactory.GetFormRegionStorage Method (2007 System)

Returns an Outlook Form Storage (.ofs) file.

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

Syntax

'Declaration
Function GetFormRegionStorage ( _
    outlookItem As Object, _
    formRegionMode As OlFormRegionMode, _
    formRegionSize As OlFormRegionSize _
) As Byte()
'Usage
Dim instance As IFormRegionFactory 
Dim outlookItem As Object 
Dim formRegionMode As OlFormRegionMode 
Dim formRegionSize As OlFormRegionSize 
Dim returnValue As Byte()

returnValue = instance.GetFormRegionStorage(outlookItem, _
    formRegionMode, formRegionSize)
byte[] GetFormRegionStorage(
    Object outlookItem,
    OlFormRegionMode formRegionMode,
    OlFormRegionSize formRegionSize
)
array<unsigned char>^ GetFormRegionStorage(
    Object^ outlookItem, 
    OlFormRegionMode formRegionMode, 
    OlFormRegionSize formRegionSize
)
function GetFormRegionStorage(
    outlookItem : Object, 
    formRegionMode : OlFormRegionMode, 
    formRegionSize : OlFormRegionSize
) : byte[]

Parameters

  • outlookItem
    Type: System.Object

    The Outlook item that caused the form region to load.

  • formRegionMode
    Type: OlFormRegionMode

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

  • formRegionSize
    Type: 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.

Remarks

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

.NET Framework Security

See Also

Reference

IFormRegionFactory Interface

IFormRegionFactory Members

Microsoft.Office.Tools.Outlook Namespace