ImportedFormRegionBase.GetFormRegionControl(String) Method

Definition

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

protected object GetFormRegionControl (string identifier);

Parameters

identifier
String

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

Returns

Object

The control that is specified by identifier.

Exceptions

The form region specified by the OutlookFormRegion property is null.

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

Applies to