Factory.CreateFormRegionCustomAction Method (String)
Creates an instance of a class that implements the FormRegionCustomAction class by using the specified name.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Function CreateFormRegionCustomAction ( _
name As String _
) As FormRegionCustomAction
FormRegionCustomAction CreateFormRegionCustomAction(
string name
)
Parameters
- name
Type: System.String
A string that represents the name of the custom action.
Return Value
Type: Microsoft.Office.Tools.Outlook.FormRegionCustomAction
A FormRegionCustomAction that represents a custom action.
Remarks
This method sets the Name property of the FormRegionCustomAction to name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.