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)
'宣告
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.
Name | Description | |
---|---|---|
FindData(String, ITextSnapshot) | Initializes a new instance of FindData with the specified search pattern and text snapshot. | |
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
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
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
Name | Description | |
---|---|---|
Equality | Determines whether two FindData objects are the same. | |
Inequality | Determines whether two FindData objects are different. |
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.