다음을 통해 공유


IVsTextManagerEvents2.OnRegisterMarkerType Method

Fired when an external marker type is registered.

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

Syntax

‘선언
Function OnRegisterMarkerType ( _
    iMarkerType As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextManagerEvents2
Dim iMarkerType As Integer
Dim returnValue As Integer

returnValue = instance.OnRegisterMarkerType(iMarkerType)
int OnRegisterMarkerType(
    int iMarkerType
)
int OnRegisterMarkerType(
    [InAttribute] int iMarkerType
)
abstract OnRegisterMarkerType : 
        iMarkerType:int -> int 
function OnRegisterMarkerType(
    iMarkerType : int
) : int

Parameters

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

Return Value

Type: System.Int32

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsTextManagerEvents2::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

IVsTextManagerEvents2 Interface

IVsTextManagerEvents2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace