ControlCollection.Contains Method (String)

Determines whether a control with the specified name is a member of the ControlCollection instance.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Function Contains ( _
    name As String _
) As Boolean
bool Contains(
    string name
)

Parameters

Return Value

Type: System.Boolean
true if the control was found in the collection; otherwise, false.

.NET Framework Security

See Also

Reference

ControlCollection Interface

Contains Overload

Microsoft.Office.Tools.Word Namespace