IVsTextManagerEvents2.OnRegisterMarkerType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.