Table of Contents

Class SearchCondition

Namespace
Microsoft.WindowsAPICodePack.Shell
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Exposes properties and methods for retrieving information about a search condition.

public class SearchCondition : IDisposable
Inheritance
SearchCondition
Implements
Inherited Members

Properties

ConditionOperation

Search condition operation to be performed on the property/value combination. See SearchConditionOperation for more details.

public SearchConditionOperation ConditionOperation { get; }

Property Value

SearchConditionOperation

ConditionType

Represents the condition type for the given node.

public SearchConditionType ConditionType { get; }

Property Value

SearchConditionType

PropertyCanonicalName

The name of a property to be compared or NULL for an unspecified property.

public string PropertyCanonicalName { get; }

Property Value

string

PropertyKey

The property key for the property that is to be compared.

public PropertyKey PropertyKey { get; }

Property Value

PropertyKey

PropertyValue

A value (in string format) to which the property is compared.

public string PropertyValue { get; }

Property Value

string

Methods

Dispose()

Release the native objects.

public void Dispose()

Dispose(bool)

Release the native objects.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

~SearchCondition()

protected ~SearchCondition()

GetSubConditions()

Retrieves an array of the sub-conditions.

public IEnumerable<SearchCondition> GetSubConditions()

Returns

IEnumerable<SearchCondition>