Share via


Search.Tag Property

Returns a String (string in C#) specifying the name of the current search. The Tag property is used to identify a specific search. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property Tag As String
    Get
'Usage
Dim instance As Search
Dim value As String

value = instance.Tag
[DispIdAttribute()]
string Tag { get; }

Property Value

Type: System.String

Remarks

The Tag property is set by using the AdvancedSearch method when the Search object is created.

See Also

Reference

Search Interface

Search Members

Microsoft.Office.Interop.Outlook Namespace