ArraySettingItemPropertyRule.EnvironmentVariableNotEqual 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.
Creates a ArraySettingItemPropertyRule that is satisfied when an environment variable doesn't have the provided value.
public static Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule EnvironmentVariableNotEqual (string environmentVariableName, string value);
static member EnvironmentVariableNotEqual : string * string -> Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule
Public Shared Function EnvironmentVariableNotEqual (environmentVariableName As String, value As String) As ArraySettingItemPropertyRule
Parameters
- environmentVariableName
- String
The name of the environment variable.
- value
- String
The value of the environment variable that does not satisfy this rule.
Returns
A ArraySettingItemPropertyRule instance.
Remarks
An undefined environment variable will be considered to have an empty string value.