IVsProjectBuildSystem.BuildTarget(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the build target.
public:
int BuildTarget(System::String ^ pszTargetName, [Runtime::InteropServices::Out] bool % pbSuccess);
int BuildTarget(std::wstring const & pszTargetName, [Runtime::InteropServices::Out] bool & pbSuccess);
public int BuildTarget (string pszTargetName, out bool pbSuccess);
abstract member BuildTarget : string * bool -> int
Public Function BuildTarget (pszTargetName As String, ByRef pbSuccess As Boolean) As Integer
Parameters
- pszTargetName
- String
[in] Pointer to a string containing the target name.
- pbSuccess
- Boolean
[out] Pointer to a Boolean. Set to true
if setting the target succeeds. Otherwise set to false
.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.