Indicates whether the collection contains an element with the specified name.
'Declaration
Public Overloads Overridable Function Contains( _
ByVal As System.String _
) As System.Boolean
public virtual System.bool Contains(
System.string
)
public: virtual System.bool Contains(
System.string*
)
Parameters
- name
- The name of the element to locate.
Return Value
true if the collection contains an element with the specified name.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2