IVsSccControlNewSolution::GetDisplayStringForAction Method (String^)
Visual Studio 2015
Retrieves the text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pbstrActionName
-
Type:
System::String^
[out] Returns the text to be used for the "Add to Source Control" check box.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From ivsscccontrolnewsolution.idl
HRESULT GetDisplayStringForAction( [out] BSTR *pbstrActionName );
If this method returns an empty string, the "Add to Source Control" check box does not appear.
Show: