VCProjectEngineObjectClass.Evaluate(String) Method

Definition

Evaluates the value of a project model or environment macro.

[System.Runtime.InteropServices.DispId(225)]
public virtual string Evaluate (string In);
Parameters
In
String

Required. The macro you want to expand.

Returns

A string with the expanded macro.

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 on these macros.

Do not instantiate VCProjectEngineObjectClass. Instantiate VCProjectEngineObject instead, as shown below:

Dim Engine As VCProjectEngine  
Engine = New VCProjectEngineObject()  

Applies to