IVsTextMacroHelper.RecordBookmarkSetClear Method

Records set or clear the current bookmark.

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

Syntax

声明
Function RecordBookmarkSetClear ( _
    fSet As Integer _
) As Integer
int RecordBookmarkSetClear(
    int fSet
)
int RecordBookmarkSetClear(
    int fSet
)
abstract RecordBookmarkSetClear : 
        fSet:int -> int 
function RecordBookmarkSetClear(
    fSet : int
) : int

Parameters

  • fSet
    Type: System.Int32
    Flag indicating whether to set (true) or clear (false) the bookmark.

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 IVsTextMacroHelper::RecordBookmarkSetClear(
   BOOL fSet
);

.NET Framework Security

See Also

Reference

IVsTextMacroHelper Interface

Microsoft.VisualStudio.TextManager.Interop Namespace