ImportedFormRegionBase.GetFormRegionControl (Método)
Devuelve el control especificado del Microsoft.Vbe.Interop.Forms.UserForm del área de formulario.
Espacio de nombres: Microsoft.Office.Tools.Outlook
Ensamblado: Microsoft.Office.Tools.Outlook.v4.0.Utilities (en Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
Sintaxis
'Declaración
Protected Function GetFormRegionControl ( _
identifier As String _
) As Object
protected Object GetFormRegionControl(
string identifier
)
Parámetros
- identifier
Tipo: System.String
El nombre del control que desee buscar en Microsoft.Vbe.Interop.Forms.UserForm de área de formulario.
Valor devuelto
Tipo: System.Object
Control especificado en identifier.
Excepciones
Excepción | Condición |
---|---|
InvalidOperationException | El área de formulario especificada por la propiedad OutlookFormRegion es nullreferencia null (Nothing en Visual Basic). |
ControlNotFoundException | El identificador no coincide con un control en el archivo .ofs. |
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.