共用方式為


IVsTextMarkerClientAdvanced.OnMarkerTextChanged Method

Fires when the text on the same line as the marker has changed.

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

Syntax

'宣告
Function OnMarkerTextChanged ( _
    pMarker As IVsTextMarker _
) As Integer
int OnMarkerTextChanged(
    IVsTextMarker pMarker
)
int OnMarkerTextChanged(
    [InAttribute] IVsTextMarker^ pMarker
)
abstract OnMarkerTextChanged : 
        pMarker:IVsTextMarker -> int 
function OnMarkerTextChanged(
    pMarker : IVsTextMarker
) : int

Parameters

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 textmgr.idl:

void IVsTextMarkerClientAdvanced::OnMarkerTextChanged(
   [in] IVsTextMarker* pMarker
);

.NET Framework Security

See Also

Reference

IVsTextMarkerClientAdvanced Interface

Microsoft.VisualStudio.TextManager.Interop Namespace