共用方式為


IVsTextViewEx.SetIgnoreMarkerTypes Method

Specifies the marker types to be ignored.

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

Syntax

'Declaration
Function SetIgnoreMarkerTypes ( _
    iCountMarkerTypes As Integer, _
    rgIgnoreMarkerTypes As UInteger() _
) As Integer
int SetIgnoreMarkerTypes(
    int iCountMarkerTypes,
    uint[] rgIgnoreMarkerTypes
)
int SetIgnoreMarkerTypes(
    [InAttribute] int iCountMarkerTypes, 
    [InAttribute] array<unsigned int>^ rgIgnoreMarkerTypes
)
abstract SetIgnoreMarkerTypes : 
        iCountMarkerTypes:int * 
        rgIgnoreMarkerTypes:uint32[] -> int
function SetIgnoreMarkerTypes(
    iCountMarkerTypes : int, 
    rgIgnoreMarkerTypes : uint[]
) : int

Parameters

  • iCountMarkerTypes
    Type: System.Int32

    [in] The number of marker types to be ignored.

  • rgIgnoreMarkerTypes
    Type: array<System.UInt32[]

    [in] The marker types to be ignored.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTextViewEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace