SfcCollection<T, K, ParentT>.Contains Method (K)

Determines whether the collection contains the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)


Public MustOverride Function Contains ( _
    key As K _
) As Boolean
Dim instance As SfcCollection
Dim key As K
Dim returnValue As Boolean

returnValue = instance.Contains(key)
public abstract bool Contains(
    K key
virtual bool Contains(
    K key
) abstract
abstract Contains : 
        key:'K -> bool 
public abstract function Contains(
    key : K
) : boolean


  • key
    Type: K
    The key to find.

Return Value

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