다음을 통해 공유


ColumnHashSetFilter Class

Definition

Important

This API is not CLS-compliant.

A helper class that implements an IEntryFilter that excludes entries whose untruncated text matches anything in a list of strings.

public ref class ColumnHashSetFilter : Microsoft::VisualStudio::Shell::TableControl::IEntryFilter
[Windows::Foundation::Metadata::WebHostHidden]
class ColumnHashSetFilter : Microsoft::VisualStudio::Shell::TableControl::IEntryFilter
[System.CLSCompliant(false)]
public class ColumnHashSetFilter : Microsoft.VisualStudio.Shell.TableControl.IEntryFilter
public class ColumnHashSetFilter : Microsoft.VisualStudio.Shell.TableControl.IEntryFilter
[<System.CLSCompliant(false)>]
type ColumnHashSetFilter = class
    interface IEntryFilter
type ColumnHashSetFilter = class
    interface IEntryFilter
Public Class ColumnHashSetFilter
Implements IEntryFilter
Inheritance
ColumnHashSetFilter
Attributes
Implements

Remarks

This class is immutabe. Use the CloneAndAdd(String) or CloneAndRemove(String) methods to create a new ColumnHashSetFilter with added or removed strings.

Constructors

ColumnHashSetFilter(ITableColumnDefinition, IEnumerable<String>)

Create a filter that for column that exludes entries if their column's untruncated text matches any string in excluded.

ColumnHashSetFilter(ITableColumnDefinition, String[])

Create a filter that for column that exludes entries if their column's untruncated text matches any string in excluded.

Fields

Column

Gets the column.

Properties

Comparer

Gets the IEqualityComparer<T> used by this filter.

Excluded

Gets the list of strings excluded by the filter.

ExcludedCount

Gets the number of excluded strings.

Methods

CloneAndAdd(String)

Clone this and add newItem to the list of excluded strings in the clone.

CloneAndRemove(String)

Clone this and remove removedItem from the list of excluded strings in the clone.

ExcludedContains(String)

Tests to see whether a particular string value is contained in Excluded.

Match(ITableEntryHandle)

Tests to see if entry matches the filter.

Applies to