Compartilhar via


SearchFilterDataSource.FilterData Constructor

Creates a new instance of the FilterData structure.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    selectionStart As Integer, _
    selectionEnd As Integer _
)
public FilterData(
    string text,
    int selectionStart,
    int selectionEnd
)
public:
FilterData(
    String^ text, 
    int selectionStart, 
    int selectionEnd
)
new : 
        text:string * 
        selectionStart:int * 
        selectionEnd:int -> FilterData
public function SearchFilterDataSource.FilterData(
    text : String, 
    selectionStart : int, 
    selectionEnd : int
)

Parameters

  • text
    Type: String

    The text string.

  • selectionStart
    Type: Int32

    Position of the start of the selected part of the string.

  • selectionEnd
    Type: Int32

    Position of the end of the selected part of the string.

.NET Framework Security

See Also

Reference

SearchFilterDataSource.FilterData Structure

Microsoft.VisualStudio.PlatformUI Namespace