Compartir a través de


ArraySettingItemPropertyRule.EnvironmentVariableEqual(String, String) Method

Definition

Creates a ArraySettingItemPropertyRule that is satisfied when an environment variable has the provided value.

public static Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule EnvironmentVariableEqual (string environmentVariableName, string value);
static member EnvironmentVariableEqual : string * string -> Microsoft.VisualStudio.Extensibility.Settings.ArraySettingItemPropertyRule
Public Shared Function EnvironmentVariableEqual (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 satisfies this rule.

Returns

A ArraySettingItemPropertyRule instance.

Remarks

An undefined environment variable will be considered to have an empty string value.

Applies to