IVsBuildMacroInfo::GetBuildMacroValue Method (String^, String^)
Visual Studio 2015
Retrieves the value or body of a macro based on the macro's name.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetBuildMacroValue(
String^ bstrBuildMacroName,
[OutAttribute] String^% pbstrBuildMacroValue
)
Parameters
- bstrBuildMacroName
-
Type:
System::String^
[in] String containing the name of the macro.
- pbstrBuildMacroValue
-
Type:
System::String^
[out] String containing the value or body of the macro.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsBuildMacroInfo::GetBuildMacroValue(
[in] BSTR bstrBuildMacroName,
[out] BSTR *pbstrBuildMacroValue
);
Show: