Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the custom action.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Property Name As String
string Name { get; set; }
Property Value
Type: System.String
A string that represents the name of the custom action.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value is nulla null reference (Nothing in Visual Basic), or is empty. |
ArgumentException | The value is greater than 256 characters in length. |
Remarks
The name does not have to be unique. A FormRegionCustomAction can share the same name as a FormRegionCustomAction in the same FormRegionCustomActionCollection.
.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.