Partager via


SettingRule.NotEqual<T>(SimpleSetting<T>, T) Method

Definition

Creates a SettingRule that is satisfied when setting's value is not equal to value.

public static Microsoft.VisualStudio.Extensibility.Settings.SettingRule NotEqual<T> (Microsoft.VisualStudio.Extensibility.Settings.SimpleSetting<T> setting, T value);
static member NotEqual : Microsoft.VisualStudio.Extensibility.Settings.SimpleSetting<'T> * 'T -> Microsoft.VisualStudio.Extensibility.Settings.SettingRule
Public Shared Function NotEqual(Of T) (setting As SimpleSetting(Of T), value As T) As SettingRule

Type Parameters

T

The value type of the setting.

Parameters

setting
SimpleSetting<T>

The setting to evaluate.

value
T

The value to compare setting to.

Returns

A SettingRule instance.

Applies to