共用方式為


SearchFilterDataSource.FilterData Constructor

Creates a new instance of the FilterData structure.

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

Syntax

'宣告
Public Sub New ( _
    text As String, _
    selectionStart As Integer, _
    selectionEnd As Integer _
)
public FilterData(
    string text,
    int selectionStart,
    int selectionEnd
)

Parameters

  • selectionStart
    Type: System.Int32
    Position of the start of the selected part of the string.
  • selectionEnd
    Type: System.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