Share via


VCPlatform.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

'Declaration
Function Evaluate ( _
    In As String _
) As String
string Evaluate(
    string In
)
String^ Evaluate(
    [InAttribute] String^ In
)
abstract Evaluate : 
        In:string -> string
function Evaluate(
    In : String
) : String

Parameters

  • In
    Type: String

    Required. The macro you want to expand.

Return Value

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

.NET Framework Security

See Also

Reference

VCPlatform Interface

Microsoft.VisualStudio.VCProjectEngine Namespace