次の方法で共有


IVsTextStream.Reload Method (Int32)

Reloads the text buffer.

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

Syntax

'宣言
Function Reload ( _
    fUndoable As Integer _
) As Integer
'使用
Dim instance As IVsTextStream
Dim fUndoable As Integer
Dim returnValue As Integer

returnValue = instance.Reload(fUndoable)
int Reload(
    int fUndoable
)
int Reload(
    [InAttribute] int fUndoable
)
abstract Reload : 
        fUndoable:int -> int 
function Reload(
    fUndoable : int
) : int

Parameters

  • fUndoable
    Type: System.Int32
    [in] Specifies whether the unload action is undoable. Currently, non-undo support is not implemented, so the reload is always undoable.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextBuffer.Reload(Int32)

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStream::Reload(
   [in] BOOL fUndoable
);

.NET Framework Security

See Also

Reference

IVsTextStream Interface

IVsTextStream Members

Reload Overload

Microsoft.VisualStudio.TextManager.Interop Namespace