ArraySettingItemPropertyRule.NotEqual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NotEqual(String, Object) |
Creates a ArraySettingItemPropertyRule that is satisfied when |
NotEqual<T>(SimpleSetting<T>, T) |
Creates a ArraySettingItemPropertyRule that is satisfied when |
NotEqual(String, Object)
Creates a ArraySettingItemPropertyRule that is satisfied when propertyId
's
value is not equal to value
.
public static Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule NotEqual (string propertyId, object? value);
static member NotEqual : string * obj -> Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule
Public Shared Function NotEqual (propertyId As String, value As Object) As ArraySettingItemPropertyRule
Parameters
- propertyId
- String
The property to evaluate.
- value
- Object
The value to compare propertyId
to.
Returns
A ArraySettingItemPropertyRule instance.
Applies to
NotEqual<T>(SimpleSetting<T>, T)
Creates a ArraySettingItemPropertyRule that is satisfied when setting
's
value is not equal to value
.
public static Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule 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.ArraySettingItemPropertyRule
Public Shared Function NotEqual(Of T) (setting As SimpleSetting(Of T), value As T) As ArraySettingItemPropertyRule
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.