共用方式為


VCPlatform.GetMacroValue Method

Gets the value of a macro by name

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

Syntax

'宣告
Function GetMacroValue ( _
    In As String _
) As String
string GetMacroValue(
    string In
)
String^ GetMacroValue(
    [InAttribute] String^ In
)
abstract GetMacroValue : 
        In:string -> string 
function GetMacroValue(
    In : String
) : String

Parameters

Return Value

Type: System.String
String containing the value of the macro.

.NET Framework Security

See Also

Reference

VCPlatform Interface

Microsoft.VisualStudio.VCProjectEngine Namespace