IVsTextBufferDataEvents.OnLoadCompleted Method
Notifies client when the buffer is initialized.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function OnLoadCompleted ( _
fReload As Integer _
) As Integer
int OnLoadCompleted(
int fReload
)
int OnLoadCompleted(
[InAttribute] int fReload
)
abstract OnLoadCompleted :
fReload:int -> int
function OnLoadCompleted(
fReload : int
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.