Share via


View.Filter Property

Returns or sets a String (string in C#) value that represents the filter for a view. Read-write.

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

Syntax

'Declaration
Property Filter As String
    Get
    Set
'Usage
Dim instance As View
Dim value As String

value = instance.Filter

instance.Filter = value
string Filter { get; set; }

Property Value

Type: System.String

Remarks

The value of this property is a string, in DAV Searching and Locating (DASL) syntax, that represents the current filter for the view. For more information about using DASL syntax to filter items in a view, see Filtering Items.

See Also

Reference

View Interface

View Members

Microsoft.Office.Interop.Outlook Namespace