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 text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetDisplayStringForAction ( _
<OutAttribute> ByRef pbstrActionName As String _
) As Integer
'Usage
Dim instance As IVsSccControlNewSolution
Dim pbstrActionName As String
Dim returnValue As Integer
returnValue = instance.GetDisplayStringForAction(pbstrActionName)
int GetDisplayStringForAction(
out string pbstrActionName
)
int GetDisplayStringForAction(
[OutAttribute] String^% pbstrActionName
)
abstract GetDisplayStringForAction :
pbstrActionName:string byref -> int
function GetDisplayStringForAction(
pbstrActionName : String
) : int
Parameters
- pbstrActionName
Type: System.String%
[out] Returns the text to be used for the "Add to Source Control" check box.
Return Value
Type: System.Int32
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.
.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.
See Also
Reference
IVsSccControlNewSolution Interface