IAdornmentLayer.RemoveMatchingAdornments Method (Predicate<IAdornmentLayerElement>)
Removes all matching adornments.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Sub RemoveMatchingAdornments ( _
match As Predicate(Of IAdornmentLayerElement) _
)
void RemoveMatchingAdornments(
Predicate<IAdornmentLayerElement> match
)
void RemoveMatchingAdornments(
Predicate<IAdornmentLayerElement^>^ match
)
abstract RemoveMatchingAdornments :
match:Predicate<IAdornmentLayerElement> -> unit
function RemoveMatchingAdornments(
match : Predicate<IAdornmentLayerElement>
)
Parameters
- match
Type: System.Predicate<IAdornmentLayerElement>
The predicate that will be called for each adornment
.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.