Description
Finds a paragraph that contains given text string, considering match-case.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public Paragraph FindFirstParagraph(
	string S,
	bool MatchCase
)
Public Function FindFirstParagraph ( _
	S As String, _
	MatchCase As Boolean _
) As Paragraph
public:
Paragraph^ FindFirstParagraph(
	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 paragraph that contains given text string, or null if this text is not found.

See Also