DataRelationCollection.Contains Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

Public Overridable Function Contains (
	name As String
) As Boolean

Parameters

name
Type: System.String

The name of the relation to find.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: