共用方式為


IVsPreviewChangesService.PreviewChanges(IVsPreviewChangesEngine) Method

Definition

Preview the refactoring changes by displaying the Preview Changes dialog.

public:
 int PreviewChanges(Microsoft::VisualStudio::Shell::Interop::IVsPreviewChangesEngine ^ pIVsPreviewChangesEngine);
public:
 int PreviewChanges(Microsoft::VisualStudio::Shell::Interop::IVsPreviewChangesEngine ^ pIVsPreviewChangesEngine);
int PreviewChanges(Microsoft::VisualStudio::Shell::Interop::IVsPreviewChangesEngine const & pIVsPreviewChangesEngine);
public int PreviewChanges (Microsoft.VisualStudio.Shell.Interop.IVsPreviewChangesEngine pIVsPreviewChangesEngine);
abstract member PreviewChanges : Microsoft.VisualStudio.Shell.Interop.IVsPreviewChangesEngine -> int
Public Function PreviewChanges (pIVsPreviewChangesEngine As IVsPreviewChangesEngine) As Integer

Parameters

pIVsPreviewChangesEngine
IVsPreviewChangesEngine

[In] Pointer to an IVsPreviewChangesEngine interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsPreviewChangesService::PreviewChanges(

[in] IVsPreviewChangesEngine *pIVsPreviewChangesEngine

);

Applies to