OutlookAddInBase.GetFormRegions Method (Explorer, Type)
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
Syntax
'Declaration
Public Function GetFormRegions ( _
explorer As Explorer, _
customCollectionType As Type _
) As IList(Of IFormRegion)
public IList<IFormRegion> GetFormRegions(
Explorer explorer,
Type customCollectionType
)
Parameters
- explorer
Type: Microsoft.Office.Interop.Outlook.Explorer
- customCollectionType
Type: System.Type
Return Value
Type: System.Collections.Generic.IList<IFormRegion>
To access all Microsoft Office Outlook form regions that appear in a specific Explorer, call the FormRegions property of the Globals class and pass in an Explorer object that represents the Explorer.
For more information, see Accessing a Form Region at Run Time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.