Partager via


IVsPreviewChangesEngine.GetConfirmation Method

Gets the dialog confirmation text.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetConfirmation ( _
    <OutAttribute> ByRef pbstrConfirmation As String _
) As Integer
int GetConfirmation(
    out string pbstrConfirmation
)
int GetConfirmation(
    [OutAttribute] String^% pbstrConfirmation
)
abstract GetConfirmation : 
        pbstrConfirmation:string byref -> int
function GetConfirmation(
    pbstrConfirmation : String
) : int

Parameters

  • pbstrConfirmation
    Type: String%

    [out] The text of the dialog confirmation.

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 GetConfirmation([out] BSTR *pbstrConfirmation);

.NET Framework Security

See Also

Reference

IVsPreviewChangesEngine Interface

Microsoft.VisualStudio.Shell.Interop Namespace