Share via


SnapshotLineFilter Delegate

Namespace:  Microsoft.VisualStudio.Data.Tools.Delta
Assembly:  Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)

Syntax

'Declaration
Public Delegate Function SnapshotLineFilter ( _
    line As ITextSnapshotLine, _
    currentText As String _
) As String
'Usage
Dim instance As New SnapshotLineFilter(AddressOf HandlerMethod)
public delegate string SnapshotLineFilter(
    ITextSnapshotLine line,
    string currentText
)
public delegate String^ SnapshotLineFilter(
    ITextSnapshotLine^ line, 
    String^ currentText
)
type SnapshotLineFilter = 
    delegate of 
        line:ITextSnapshotLine * 
        currentText:string -> string
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • line
    Type: ITextSnapshotLine

Return Value

Type: System..::..String

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Delta Namespace