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
用法
Dim instance As VCPlatform
Dim In As String
Dim returnValue As String
returnValue = instance.GetMacroValue(In)
string GetMacroValue(
string In
)
String^ GetMacroValue(
[InAttribute] String^ In
)
function GetMacroValue(
In : String
) : String
Parameters
In
Type: System.StringName of the macro.
Return Value
Type: System.String
String containing the value of the macro.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.