DataSourceDesigner.ViewSchemasEquivalent Method (IDataSourceViewSchema, IDataSourceViewSchema)

 
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.

Provides a value that determines whether two schema views are equal.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public static bool ViewSchemasEquivalent(
	IDataSourceViewSchema viewSchema1,
	IDataSourceViewSchema viewSchema2
)

Parameters

viewSchema1
Type: System.Web.UI.Design.IDataSourceViewSchema

The first view to compare (derived from the IDataSourceViewSchema).

viewSchema2
Type: System.Web.UI.Design.IDataSourceViewSchema

The second view to compare.

Return Value

Type: System.Boolean

true if both views are equivalent; otherwise, false.

The ViewSchemasEquivalent method can be used without an instance of the DataSourceDesigner class.

.NET Framework
Available since 2.0
Return to top
Show: