Udostępnij przez


Metoda SfcDictionaryCollection<T, K, ParentT>.Contains (K)

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Overrides Function Contains ( _
    key As K _
) As Boolean
'Użycie
Dim instance As SfcDictionaryCollection
Dim key As K
Dim returnValue As Boolean

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

Parametry

  • key
    Typ: K
    Obiekt klucz kolekcja.

Wartość zwracana

Typ: System.Boolean
TRUE Jeśli kolekcja zawiera klucz obiektu; w przeciwnym razie false.