Description
Finds a text-run that contains a certain text string.

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Textrun FindFirstTextrun(
	string S,
	bool MatchCase
)
Public Function FindFirstTextrun ( _
	S As String, _
	MatchCase As Boolean _
) As Textrun
public:
Textrun^ FindFirstTextrun(
	String^ S, 
	bool MatchCase
)

Parameters

S
String
The string to find.
MatchCase
Boolean
Defines if match-case is considered.

Return Value

Returns the first found textrun that contains given text string, or null if this text is not found.

See Also