IVsSccControlNewSolution.GetDisplayStringForAction(String) 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.
Retrieves the text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.
public:
int GetDisplayStringForAction([Runtime::InteropServices::Out] System::String ^ % pbstrActionName);
int GetDisplayStringForAction([Runtime::InteropServices::Out] std::wstring const & & pbstrActionName);
public int GetDisplayStringForAction (out string pbstrActionName);
abstract member GetDisplayStringForAction : string -> int
Public Function GetDisplayStringForAction (ByRef pbstrActionName As String) As Integer
Parameters
- pbstrActionName
- String
[out] Returns the text to be used for the "Add to Source Control" check box.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.