Export (0) Print
Expand All

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 struct FindData

The FindData type exposes the following members.

Public methodFindData(String, ITextSnapshot)Initializes a new instance of FindData with the specified search pattern and text snapshot.
Public methodFindData(String, ITextSnapshot, FindOptions, ITextStructureNavigator)Initializes a new instance of FindData with the specified search pattern, text snapshot, find options, and text structure navigator.

Public propertyFindOptionsGets or sets the options that are used for the search.
Public propertySearchStringGets or sets the string to use in the search.
Public propertyTextSnapshotToSearchGets or sets the ITextSnapshot on which to perform the search.
Public propertyTextStructureNavigatorGets or sets the ITextStructureNavigator to use in determining word boundaries.

Public methodEqualsDetermines whether two FindData objects are the same. (Overrides ValueType.Equals(Object).)
Public methodGetHashCodeGets the hash code for the object. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringConverts the FindData object to a string. (Overrides ValueType.ToString().)

Public operatorStatic memberEqualityDetermines whether two FindData objects are the same.
Public operatorStatic memberInequalityDetermines whether two FindData objects are different.

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