VCProjectEngineObjectClass::Evaluate Method (String^)

 

Evaluates the value of a project model or environment macro.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

public:
virtual String^ Evaluate(
	String^ In
)

Parameters

In
Type: System::String^

Required. The macro you want to expand.

Return Value

Type: System::String^

A string with the expanded macro.

If the string you want to evaluate contains no macros, then you get exactly the same string back. See 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()
Return to top
Show: