다음을 통해 공유


IVsTextBufferDataEvents.OnLoadCompleted(Int32) Method

Definition

Notifies client when the buffer is initialized.

public:
 int OnLoadCompleted(int fReload);
public:
 int OnLoadCompleted(int fReload);
int OnLoadCompleted(int fReload);
public int OnLoadCompleted (int fReload);
abstract member OnLoadCompleted : int -> int
Public Function OnLoadCompleted (fReload As Integer) As Integer

Parameters

fReload
Int32

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

Returns

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

Remarks

COM Signature

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.

Applies to