GetFormRegionControl Method

ImportedFormRegionBase.GetFormRegionControl Method (String)

 

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.

Exception Condition
InvalidOperationException

The form region specified by the OutlookFormRegion property is null.

ControlNotFoundException

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

Return to top
Show:
© 2016 Microsoft