IVsTextManagerEvents3.OnRegisterMarkerType Method
Fires when a new marker type is registered.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
Syntax
'宣言
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] The new marker type.
Return Value
Type: System.Int32
Returns S_OK if the method is successful.
.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.