Partager via


OutlookBarShortcut.Target Property

Returns an Object indicating the target of the specified shortcut in a Shortcuts pane group. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Target As Object
    Get
'Usage
Dim instance As OutlookBarShortcut
Dim value As Object

value = instance.Target
[DispIdAttribute()]
Object Target { get; }

Property Value

Type: System.Object

Remarks

The return type depends on the shortcut type. If the shortcut represents an Outlook folder, the return type is Folder. If the shortcut represents a file-system folder, the return type is an Object. If the shortcut represents a file-system path or URL, the return type is a String (string in C#).

See Also

Reference

OutlookBarShortcut Interface

OutlookBarShortcut Members

Microsoft.Office.Interop.Outlook Namespace