Compartilhar via


SearchFilterDataSource.FilterData Structure

Represents a text string, or a selected portion of a text string with start and end positions specified.

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

Syntax

'Declaration
Public Structure FilterData
public struct FilterData
public value class FilterData
[<Sealed>]
type FilterData =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The SearchFilterDataSource.FilterData type exposes the following members.

Constructors

  Name Description
Public method SearchFilterDataSource.FilterData Creates a new instance of the FilterData structure.

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field SelectionEnd The position of the end of the selected part of the string.
Public field SelectionStart The position of the start of the selected part of the string.
Public field Text The text string.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace