Compartilhar via


IVsTextMarkerType.GetBehaviorFlags Method

Returns marker behavior flags, which define the default marker behavior.

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

Syntax

'Declaration
Function GetBehaviorFlags ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
int GetBehaviorFlags(
    out uint pdwFlags
)
int GetBehaviorFlags(
    [OutAttribute] unsigned int% pdwFlags
)
abstract GetBehaviorFlags : 
        pdwFlags:uint32 byref -> int
function GetBehaviorFlags(
    pdwFlags : uint
) : int

Parameters

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 IVsTextMarkerType::GetBehaviorFlags(
   [out] DWORD *pdwFlags
);

For now, only streaming and line-spanning options are supported.

.NET Framework Security

See Also

Reference

IVsTextMarkerType Interface

Microsoft.VisualStudio.TextManager.Interop Namespace