Partager via


IVsTextManagerEvents.OnRegisterMarkerType Method

Fired when an external marker type is registered.

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

Syntax

'Déclaration
Sub OnRegisterMarkerType ( _
    iMarkerType As Integer _
)
void OnRegisterMarkerType(
    int iMarkerType
)
void OnRegisterMarkerType(
    [InAttribute] int iMarkerType
)
abstract OnRegisterMarkerType : 
        iMarkerType:int -> unit 
function OnRegisterMarkerType(
    iMarkerType : int
)

Parameters

  • iMarkerType
    Type: System.Int32
    [in] External marker type that was registered.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextManagerEvents::OnRegisterMarkerType(
   [in] long iMarkerType
);

Use the GetMarkerTypeInterface method to retrieve an IVsTextMarkerType interface, which can be used to probe for specific details about the new external marker type.

.NET Framework Security

See Also

Reference

IVsTextManagerEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace