IVsWebPreview.PreviewURL(IVsWebPreviewAction, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the information for the preview. Use ActivatePreview() to display the preview.
public:
int PreviewURL(Microsoft::VisualStudio::Shell::Interop::IVsWebPreviewAction ^ pAction, System::String ^ lpszURL);
public:
int PreviewURL(Microsoft::VisualStudio::Shell::Interop::IVsWebPreviewAction ^ pAction, Platform::String ^ lpszURL);
int PreviewURL(Microsoft::VisualStudio::Shell::Interop::IVsWebPreviewAction const & pAction, std::wstring const & lpszURL);
public int PreviewURL (Microsoft.VisualStudio.Shell.Interop.IVsWebPreviewAction pAction, string lpszURL);
abstract member PreviewURL : Microsoft.VisualStudio.Shell.Interop.IVsWebPreviewAction * string -> int
Public Function PreviewURL (pAction As IVsWebPreviewAction, lpszURL As String) As Integer
Parameters
- pAction
- IVsWebPreviewAction
[in] Pointer to an IVsWebPreviewAction interface providing callbacks for the preview process.
- lpszURL
- String
[in] Pointer to a string containing the URL to be previewed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsbrowse.idl:
HRESULT IVsWebPreview::PreviewURL(
[in] IVsWebPreviewAction* pAction,
[in] LPCOLESTR lpszURL
);