Export (0) Print
Expand All

IVsWebPreview.PreviewURLEx Method

Provides the information for the preview. Extension of PreviewURL. Use ActivatePreview to display the preview.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int PreviewURLEx (
	[InAttribute] IVsWebPreviewAction pAction,
	[InAttribute] string lpszURL,
	[InAttribute] uint opt,
	[InAttribute] int cx,
	[InAttribute] int cy
)
int PreviewURLEx (
	/** @attribute InAttribute() */ IVsWebPreviewAction pAction, 
	/** @attribute InAttribute() */ String lpszURL, 
	/** @attribute InAttribute() */ UInt32 opt, 
	/** @attribute InAttribute() */ int cx, 
	/** @attribute InAttribute() */ int cy
)
function PreviewURLEx (
	pAction : IVsWebPreviewAction, 
	lpszURL : String, 
	opt : uint, 
	cx : int, 
	cy : int
) : int

Parameters

pAction

[in] [in] Pointer to an IVsWebPreviewAction interface providing callbacks for the preview process. May be a null reference (Nothing in Visual Basic).

lpszURL

[in] Pointer to a string containing the URL to be previewed.

opt

[in] Integer. Options for displaying the preview window. A value from the __VSWBPREVIEWOPTIONS enumeration.

cx

[in] Integer. Horizontal position of upper left corner of preview. Can be zero (0), the default.

cy

[in] Integer. Vertical position of upper left corner of preview. Can be zero (0), the default.

Return Value

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

COM Signature

From vsbrowse.idl:

HRESULT IVsWebPreview::PreviewURLEx(
   [in] IVsWebPreviewAction* pAction, 
   [in] LPCOLESTR lpszURL, 
   [in] VSWBPREVIEWOPTIONS opt, 
   [in] int cx
);

Community Additions

ADD
Show:
© 2014 Microsoft