Share via


BuildCommonUtil.ExpandEnvironmentVariables Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member ExpandEnvironmentVariables(String) Expands environment variables which are of the format '$(...)' where the '...' part of the string is any valid combination of letters and numbers. Any patterns recognized as environment variables which do not expand to an existing variable in the current environment are left as-is in the output path.
Public methodStatic member ExpandEnvironmentVariables(String, IDictionary<String, String>) Expands environment variables which are of the format '$(...)' where the '...' part of the string is any valid combination of letters and numbers. Any patterns recognized as environment variables which do not expand to an existing variable in the current environment are matched with the keys in the string dictionary and replaced with the dictionaries value. If a pattern does not match an environment variable or a key in the dictionary it is left as-is in the output path.

Top

See Also

Reference

BuildCommonUtil Class

Microsoft.TeamFoundation.Build.Common Namespace