Partager via


_Application.IsTrusted Property

Returns a Boolean (bool in C#) to indicate if an add-in or external caller is considered trusted by Outlook. Read-only

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property IsTrusted As Boolean
    Get
'Usage
Dim instance As _Application
Dim value As Boolean

value = instance.IsTrusted
[DispIdAttribute()]
bool IsTrusted { get; }

Property Value

Type: System.Boolean

Remarks

For out-of-process callers that have instantiated the Application object, IsTrusted always returns False. For Outlook add-ins, IsTrusted returns True if and only if the add-in is considered trusted by Outlook.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Outlook Namespace