IVsTextBufferDataEvents::OnLoadCompleted Method (Int32)

 

Notifies client when the buffer is initialized.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int OnLoadCompleted(
	int fReload
)

Parameters

fReload
Type: System::Int32

[in] Specifies that the load was a result of a reload and not a "fresh" load.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsTextBufferDataEvents::OnLoadCompleted(
   [in] BOOL fReload
);

In the non-reload case, if any of the event sinks return an error HRESULT from OnLoadCompleted, the corresponding Load [document data] call returns with that same error HRESULT. In the reload scenario, the return value is ignored.

Return to top
Show: