共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Structure FilterData
public struct FilterData

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