IVsWebPreview::PreviewURL Method (IVsWebPreviewAction^, String^)
Visual Studio 2015
Provides the information for the preview. Use ActivatePreview to display the preview.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pAction
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsWebPreviewAction^
[in] Pointer to an IVsWebPreviewAction interface providing callbacks for the preview process.
- lpszURL
-
Type:
System::String^
[in] Pointer to a string containing the URL to be previewed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsbrowse.idl:
HRESULT IVsWebPreview::PreviewURL( [in] IVsWebPreviewAction* pAction, [in] LPCOLESTR lpszURL );
Show: