Description
Finds a textrun that contains given 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
)
Public Function FindFirstTextrun ( _
	S As String _
) As Textrun
public:
Textrun^ FindFirstTextrun(
	String^ S
)

Parameters

S
String
The string to find.

Return Value

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

See Also