IVsWebPreviewAction.OnPreviewLoaded(Object) Method

Definition

Method called when the preview window has loaded its document.

public:
 int OnPreviewLoaded(System::Object ^ pDispDocument);
public:
 int OnPreviewLoaded(Platform::Object ^ pDispDocument);
int OnPreviewLoaded(winrt::Windows::Foundation::IInspectable const & pDispDocument);
public int OnPreviewLoaded (object pDispDocument);
abstract member OnPreviewLoaded : obj -> int
Public Function OnPreviewLoaded (pDispDocument As Object) As Integer

Parameters

pDispDocument
Object

[in] Pointer to the IDispatch interface of the loaded document.

Returns

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

Remarks

COM Signature

From vsbrowse.idl:

HRESULT IVsWebPreviewAction::OnPreviewLoaded(  
   [in] IDispatch* pDispDocument  
);  

Applies to