Loe inglise keeles

Jagamisviis:


ProtocolPropertyCollection.Contains(String) Method

Definition

Checks whether the specified key value exists in the collection.

C#
public bool Contains(string name);

Parameters

name
String

A String value that specifies the key value to check the existence of in the collection.

Returns

A Boolean value that specifies whether the key value exists in the collection.

If True, the key value exists in the collection.

If False, the key value does not exist in the collection.

Examples

Using Collections

Applies to

Toode Versioonid
SQL Server .NET SDK 2016