FindData Structure
Represents the set of data used in a search by the ITextSearchService.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Structure FindData
public struct FindData
public value class FindData
[<Sealed>]
type FindData = struct end
JScript supports the use of structures, but not the declaration of new ones.
The FindData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FindData(String, ITextSnapshot) | Initializes a new instance of FindData. | |
FindData(String, ITextSnapshot, FindOptions, ITextStructureNavigator) | Initializes a new instance of FindData with the specified search pattern, text snapshot, find options, and text structure navigator. |
Top
Properties
Name | Description | |
---|---|---|
FindOptions | Gets or sets the options that are used for the search. | |
SearchString | Gets or sets the string to use in the search. | |
TextSnapshotToSearch | Gets or sets the ITextSnapshot on which to perform the search. | |
TextStructureNavigator | Gets or sets the ITextStructureNavigator to use in determining word boundaries. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two FindData objects are the same. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for the object. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts the FindData object to a string. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two FindData objects are the same. | |
Inequality | Determines whether two FindData objects are different. |
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.