Delen via


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

Determines whether the collection contains the specified object. 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)

Syntax

'Declaration
Public Overrides Function Contains ( _
    obj As T _
) As Boolean
'Usage
Dim instance As SfcCollatedDictionaryCollection 
Dim obj As T
Dim returnValue As Boolean 

returnValue = instance.Contains(obj)
public override bool Contains(
    T obj
)
public:
virtual bool Contains(
    T obj
) override
abstract Contains : 
        obj:'T -> bool  
override Contains : 
        obj:'T -> bool
public override function Contains(
    obj : T
) : boolean

Parameters

  • obj
    Type: T
    The object to find in the collection.

Return Value

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

Implements

ICollection<T>.Contains(T)

See Also

Reference

SfcCollatedDictionaryCollection<T, K, ParentT> Class

Contains Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace