Utils.ApplyEnvironmentVarSubstitution Method
Applies .cmd-script-style environment variable substitution, using the collection of variables retrieved from Environment.GetEnvironmentVariables().
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)
Usage
'Usage
Dim input As String
Dim returnValue As String
returnValue = Utils.ApplyEnvironmentVarSubstitution(input)
Syntax
'Declaration
Public Shared Function ApplyEnvironmentVarSubstitution ( _
input As String _
) As String
public static string ApplyEnvironmentVarSubstitution (
string input
)
public:
static String^ ApplyEnvironmentVarSubstitution (
String^ input
)
public static String ApplyEnvironmentVarSubstitution (
String input
)
public static function ApplyEnvironmentVarSubstitution (
input : String
) : String
Parameters
- input
Specifies the string containing zero or more specified environment variables (syntax: %variable%)
Return Value
Type: String
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
Utils Class
Utils Members
Microsoft.Uii.Common Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.