CommandInvocationIntrinsics.ExpandString(String) 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.
Returns a string with all of the variable and expression substitutions done.
public:
System::String ^ ExpandString(System::String ^ source);
public:
Platform::String ^ ExpandString(Platform::String ^ source);
std::wstring ExpandString(std::wstring const & source);
public string ExpandString (string source);
member this.ExpandString : string -> string
Public Function ExpandString (source As String) As String
Parameters
- source
- String
The string to expand.
Returns
The expanded string.
Exceptions
Thrown if a parse exception occurred during subexpression substitution.