TextBuffer.Find Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function Find ( _
Target As String, _
<OutAttribute> ByRef StartLine As Integer, _
<OutAttribute> ByRef StartColumn As Integer, _
<OutAttribute> ByRef EndLine As Integer, _
<OutAttribute> ByRef EndColumn As Integer, _
WholeWord As Boolean, _
MatchCase As Boolean, _
PatternSearch As Boolean _
) As Boolean
bool Find(
string Target,
out int StartLine,
out int StartColumn,
out int EndLine,
out int EndColumn,
bool WholeWord,
bool MatchCase,
bool PatternSearch
)
bool Find(
[InAttribute] String^ Target,
[InAttribute] [OutAttribute] int% StartLine,
[InAttribute] [OutAttribute] int% StartColumn,
[InAttribute] [OutAttribute] int% EndLine,
[InAttribute] [OutAttribute] int% EndColumn,
[InAttribute] bool WholeWord,
[InAttribute] bool MatchCase,
[InAttribute] bool PatternSearch
)
abstract Find :
Target:string *
StartLine:int byref *
StartColumn:int byref *
EndLine:int byref *
EndColumn:int byref *
WholeWord:bool *
MatchCase:bool *
PatternSearch:bool -> bool
function Find(
Target : String,
StartLine : int,
StartColumn : int,
EndLine : int,
EndColumn : int,
WholeWord : boolean,
MatchCase : boolean,
PatternSearch : boolean
) : boolean
Parameters
Target
Type: System.StringThe string to find.
StartLine
Type: System.Int32%The line from which to start.
StartColumn
Type: System.Int32%The column from which to start.
EndLine
Type: System.Int32%The line at which to stop.
EndColumn
Type: System.Int32%The column at which to stop.
WholeWord
Type: System.Booleantrue if the find operation should match on a word, otherwise false.
MatchCase
Type: System.Booleantrue if the find operation should match the case of the target, otherwise false.
PatternSearch
Type: System.Booleantrue if the find operation should match the target pattern, otherwise false.
Return Value
Type: System.Boolean
true if the find operation found the string, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.