Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the value or body of a macro based on the macro's name.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetBuildMacroValue ( _
bstrBuildMacroName As String, _
<OutAttribute> ByRef pbstrBuildMacroValue As String _
) As Integer
int GetBuildMacroValue(
string bstrBuildMacroName,
out string pbstrBuildMacroValue
)
int GetBuildMacroValue(
[InAttribute] String^ bstrBuildMacroName,
[OutAttribute] String^% pbstrBuildMacroValue
)
abstract GetBuildMacroValue :
bstrBuildMacroName:string *
pbstrBuildMacroValue:string byref -> int
function GetBuildMacroValue(
bstrBuildMacroName : String,
pbstrBuildMacroValue : String
) : int
Parameters
bstrBuildMacroName
Type: String[in] String containing the name of the macro.
pbstrBuildMacroValue
Type: String%[out] String containing the value or body of the macro.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsBuildMacroInfo::GetBuildMacroValue(
[in] BSTR bstrBuildMacroName,
[out] BSTR *pbstrBuildMacroValue
);
.NET Framework Security
- 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.