VsFinderClass VsFinderClass VsFinderClass Class

Definition

Finds a text image.

[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("9F842E53-E27B-426F-AE69-8F075770C6F3")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsFinderClass : Microsoft.VisualStudio.TextManager.Interop.VsFinder
type VsFinderClass = class
    interface IVsFinder
    interface VsFinder
Public Class VsFinderClass
Implements VsFinder
Inheritance
VsFinderClassVsFinderClassVsFinderClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsFinderClass() VsFinderClass() VsFinderClass()

Creates a new instance of the class.

Methods

AttachTextImage(Object) AttachTextImage(Object) AttachTextImage(Object)

Attaches a text image.

Detach() Detach() Detach()

Detaches a text image.

Find(UInt32, TextSpan[], UInt32) Find(UInt32, TextSpan[], UInt32) Find(UInt32, TextSpan[], UInt32)

Finds a text image within a text span.

GetMatch(TextSpan[]) GetMatch(TextSpan[]) GetMatch(TextSpan[])

Gets a text span match.

GetMatchedSpans(IVsTextSpanSet) GetMatchedSpans(IVsTextSpanSet) GetMatchedSpans(IVsTextSpanSet)

Gets matched text spans.

GetState(Int32, UInt32, UInt32) GetState(Int32, UInt32, UInt32) GetState(Int32, UInt32, UInt32)

Gets state.

GetTaggedSpans(IVsTextSpanSet) GetTaggedSpans(IVsTextSpanSet) GetTaggedSpans(IVsTextSpanSet)

Returns tagged text spans.

Init(UInt32, String, Int32, UInt32) Init(UInt32, String, Int32, UInt32) Init(UInt32, String, Int32, UInt32)

Sets the find string.

SetPosition(UInt32, TextAddress) SetPosition(UInt32, TextAddress) SetPosition(UInt32, TextAddress)

Sets search position.

SetScope(IVsTextSpanSet) SetScope(IVsTextSpanSet) SetScope(IVsTextSpanSet)

Restricts search to the span set.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to