Редагувати

Поділитися через


DataRelationCollection.Contains(String) Method

Definition

Verifies whether a DataRelation with the specific name (case insensitive) exists in the collection.

public:
 virtual bool Contains(System::String ^ name);
public virtual bool Contains (string? name);
public virtual bool Contains (string name);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Overridable Function Contains (name As String) As Boolean

Parameters

name
String

The name of the relation to find.

Returns

true, if a relation with the specified name exists; otherwise false.

Applies to

See also