IVsTextManagerEvents2.OnRegisterMarkerType(Int32) Method

Definition

Fired when an external marker type is registered.

public:
 int OnRegisterMarkerType(int iMarkerType);
public:
 int OnRegisterMarkerType(int iMarkerType);
int OnRegisterMarkerType(int iMarkerType);
public int OnRegisterMarkerType (int iMarkerType);
abstract member OnRegisterMarkerType : int -> int
Public Function OnRegisterMarkerType (iMarkerType As Integer) As Integer

Parameters

iMarkerType
Int32

[in] External marker type that was registered.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Applies to