Share via


ImportedFormRegionBase.GetFormRegionControl(String) Method

Definition

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

protected:
 System::Object ^ GetFormRegionControl(System::String ^ identifier);
protected object GetFormRegionControl (string identifier);
member this.GetFormRegionControl : string -> obj
Protected Function GetFormRegionControl (identifier As String) As Object

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

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