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
‘선언
Function GetConfirmation ( _
<OutAttribute> ByRef pbstrConfirmation As String _
) As Integer
‘사용 방법
Dim instance As IVsPreviewChangesEngine
Dim pbstrConfirmation As String
Dim returnValue As Integer
returnValue = instance.GetConfirmation(pbstrConfirmation)
int GetConfirmation(
out string pbstrConfirmation
)
int GetConfirmation(
[OutAttribute] String^% pbstrConfirmation
)
abstract GetConfirmation :
pbstrConfirmation:string byref -> int
function GetConfirmation(
pbstrConfirmation : String
) : int
Parameters
- pbstrConfirmation
Type: System.String%
[out] The text of the dialog confirmation.
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 vsshell80.idl:
HRESULT GetConfirmation([out] BSTR *pbstrConfirmation);
.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
IVsPreviewChangesEngine Interface