Share via


LinkFilter.FilterValues Property

Gets or sets values used to filter query method results.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Property FilterValues As String()
'Usage
Dim instance As LinkFilter 
Dim value As String()

value = instance.FilterValues

instance.FilterValues = value
public string[] FilterValues { get; set; }
public:
property array<String^>^ FilterValues {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
public function get FilterValues () : String[]
public function set FilterValues (value : String[])

Property Value

Type: array<System.String[]

Remarks

Results must exactly match one of the FilterValues to pass through the filter. The FilterType property determines which field to consider in the filter operation.

Note

Each instance of LinkFilter is always added to a query as an array, and each element in the filter array can itself hold an array of strings.

The filters are evaluated as follows:

  • First, all strings in the same filter array element are combined with an OR operation.

  • Second, all elements in the filter array are combined with an AND operation.

.NET Framework Security

See Also

Reference

LinkFilter Class

LinkFilter Members

Microsoft.TeamFoundation Namespace