OrderedCollectionBase<T>.Contains Method (String)

Determines whether the specified element is in the collection.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As OrderedCollectionBase 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(name)
public bool Contains(
    string name
)
public:
virtual bool Contains(
    String^ name
) sealed
abstract Contains : 
        name:string -> bool  
override Contains : 
        name:string -> bool
public final function Contains(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the collection contains the element; otherwise, false.

Implements

IMetadataCollection<T>.Contains(String)

See Also

Reference

OrderedCollectionBase<T> Class

Contains Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace