VCProjectEngine.Evaluate Method

Evaluates the value of a project model or environment macro.

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

Syntax

声明
Function Evaluate ( _
    In As String _
) As String
用法
Dim instance As VCProjectEngine
Dim In As String
Dim returnValue As String

returnValue = instance.Evaluate(In)
string Evaluate(
    string In
)
String^ Evaluate(
    [InAttribute] String^ In
)
function Evaluate(
    In : String
) : String

Parameters

Return Value

Type: System.String

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 Macros for Build Commands and Properties for more information about these macros.

Permissions

See Also

Reference

VCProjectEngine Interface

VCProjectEngine Members

Microsoft.VisualStudio.VCProjectEngine Namespace