IWordPatternProvider Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the Word Pattern which determines boundaries between words. Instance of this type can be obtained by importing IWordPatternProviderFactory.
public interface IWordPatternProvider
type IWordPatternProvider = interface
Public Interface IWordPatternProvider
This interface provides similar information as ITextStructureNavigator, however: ITextStructureNavigator provides extent of a word in a realized ITextSnapshot, as well as spans of its parent element and its surrounding elements. The data it produces is used to navigate the document using keyboard.
On the other hand, this interface provides an expression used to find extent of a word either in a realized snapshot or in an arbitrary string. This expression may be used in various features, for example, by completion to determine its boundaries.
Get |
Provides a regular expression which matches whole words and is applicable at |
Produkt | Verzie |
---|---|
Visual Studio SDK | 2022 |