IAdornmentLayer.RemoveMatchingAdornments 方法 (SnapshotSpan, Predicate<IAdornmentLayerElement>)

移除所有匹配的修饰与可视跨距 \。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Sub RemoveMatchingAdornments ( _
    visualSpan As SnapshotSpan, _
    match As Predicate(Of IAdornmentLayerElement) _
)
void RemoveMatchingAdornments(
    SnapshotSpan visualSpan,
    Predicate<IAdornmentLayerElement> match
)
void RemoveMatchingAdornments(
    SnapshotSpan visualSpan, 
    Predicate<IAdornmentLayerElement^>^ match
)
abstract RemoveMatchingAdornments : 
        visualSpan:SnapshotSpan * 
        match:Predicate<IAdornmentLayerElement> -> unit
function RemoveMatchingAdornments(
    visualSpan : SnapshotSpan, 
    match : Predicate<IAdornmentLayerElement>
)

参数

备注

没有指定可视范围和标记的所有修饰被忽略。

.NET Framework 安全性

请参阅

参考

IAdornmentLayer 接口

RemoveMatchingAdornments 重载

Microsoft.VisualStudio.Text.Editor 命名空间