Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Function OnRegisterMarkerType ( _
iMarkerType As Integer _
) As Integer
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
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.