Share via


VariationDataSource.Filter property

NOTE: This API is now obsolete.

Regular expression filter that Microsoft Office SharePoint Server 2007 uses to include values returned from this VariationDataSource object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead",  _
    False)> _
Public Property Filter As String
    Get
    Set
'Usage
Dim instance As VariationDataSource
Dim value As String

value = instance.Filter

instance.Filter = value
[ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead", 
    false)]
public string Filter { get; set; }

Property value

Type: System.String

Remarks

The regular expression filter is run on the Title property of each of the VariationLabel objects to see if it should be returned from this VariationDataSource.

See also

Reference

VariationDataSource class

VariationDataSource members

Microsoft.SharePoint.Publishing.WebControls namespace