ImportedFormRegionBase.GetFormRegionControl Method

Returns the specified control from the Microsoft.Vbe.Interop.Forms.UserForm of the form region.

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

protected Object GetFormRegionControl(
	string identifier
)

Parameters

identifier
Type: System.String

The name of the control that you would like to locate in the Microsoft.Vbe.Interop.Forms.UserForm of the form region.

Return Value

Type: System.Object
The control that is specified by identifier.

ExceptionCondition
InvalidOperationException

The form region specified by the OutlookFormRegion property is null.

ControlNotFoundException

Identifier does not match a control in the .ofs file.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft