Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the collection contains an element that has the specified name.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Private Function Contains ( _
name As String _
) As Boolean Implements IMetadataCollection(Of IMetadataObject).Contains
'Usage
Dim instance As SortedListCollection
Dim name As String
Dim returnValue As Boolean
returnValue = CType(instance, IMetadataCollection(Of IMetadataObject)).Contains(name)
bool IMetadataCollection<IMetadataObject>.Contains(
string name
)
private:
virtual bool Contains(
String^ name
) sealed = IMetadataCollection<IMetadataObject^>::Contains
private abstract Contains :
name:string -> bool
private override Contains :
name:string -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- name
Type: System.String
The name of the element to locate in the collection.
Return Value
Type: System.Boolean
true if the collection contains the element; otherwise, false.
Implements
IMetadataCollection<T>.Contains(String)
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace