Condividi tramite


VCProjectEngine.Evaluate(String) Method

Definition

Evaluates the value of a project model or environment macro.

public:
 System::String ^ Evaluate(System::String ^ In);
public:
 Platform::String ^ Evaluate(Platform::String ^ In);
std::wstring Evaluate(std::wstring const & In);
[System.Runtime.InteropServices.DispId(225)]
public string Evaluate (string In);
[<System.Runtime.InteropServices.DispId(225)>]
abstract member Evaluate : string -> string
Public Function Evaluate (In As String) As String

Parameters

In
String

Required. The macro you want to expand.

Returns

A string with the expanded macro.

Attributes

Remarks

If the string you want to evaluate contains no macros, then you get exactly the same string back. See Common Macros for Build Commands and Properties for more information about these macros.

Applies to