Sdílet prostřednictvím


Project.ExpandString(String) Method

Definition

Evaluates the provided string by expanding items and properties, as if it was found at the very end of the project file. This is useful for some hosts for which this kind of best-effort evaluation is sufficient. Does not expand bare metadata expressions.

public:
 System::String ^ ExpandString(System::String ^ unexpandedValue);
public string ExpandString (string unexpandedValue);
member this.ExpandString : string -> string
Public Function ExpandString (unexpandedValue As String) As String

Parameters

unexpandedValue
String

The string to be evaluated.

Returns

The evaluated string.

Remarks

This method can be used when best-effort evaluation is sufficient.

Applies to