FormRegionManifestIcons.GetIcon Method
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Returns an image that will be displayed for a particular type of icon for the form region.
This API is not CLS-compliant. The CLS-compliant alternative is .
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Function GetIcon ( _
icon As OlFormRegionIcon _
) As IPictureDisp
[CLSCompliantAttribute(false)]
IPictureDisp GetIcon(
OlFormRegionIcon icon
)
Parameters
icon
Type: Microsoft.Office.Interop.Outlook.OlFormRegionIconAn Microsoft.Office.Interop.Outlook.OlFormRegionIcon that represents the type of icon that you want to return.
Return Value
Type: IPictureDisp
An IPictureDisp that represents the icon.
.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.