ImportedFormRegionBase.GetFormRegionControl(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.