DataRowView.CreateChildView Method

Definition

Returns a DataView for the child DataTable.

Overloads

CreateChildView(DataRelation)

Returns a DataView for the child DataTable with the specified child DataRelation.

CreateChildView(String)

Returns a DataView for the child DataTable with the specified child DataRelation name.

CreateChildView(DataRelation, Boolean)

Returns a DataView for the child DataTable with the specified DataRelation and parent.

CreateChildView(String, Boolean)

Returns a DataView for the child DataTable with the specified DataRelation name and parent.

CreateChildView(DataRelation)

Source:
DataRowView.cs
Source:
DataRowView.cs
Source:
DataRowView.cs

Returns a DataView for the child DataTable with the specified child DataRelation.

public System.Data.DataView CreateChildView (System.Data.DataRelation relation);

Parameters

relation
DataRelation

The DataRelation object.

Returns

a DataView for the child DataTable.

Applies to

.NET 9 ja muud versioonid
Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

CreateChildView(String)

Source:
DataRowView.cs
Source:
DataRowView.cs
Source:
DataRowView.cs

Returns a DataView for the child DataTable with the specified child DataRelation name.

public System.Data.DataView CreateChildView (string relationName);

Parameters

relationName
String

A string containing the DataRelation name.

Returns

a DataView for the child DataTable.

Applies to

.NET 9 ja muud versioonid
Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

CreateChildView(DataRelation, Boolean)

Source:
DataRowView.cs
Source:
DataRowView.cs
Source:
DataRowView.cs

Returns a DataView for the child DataTable with the specified DataRelation and parent.

public System.Data.DataView CreateChildView (System.Data.DataRelation relation, bool followParent);

Parameters

relation
DataRelation

The DataRelation object.

followParent
Boolean

The parent object.

Returns

A DataView for the child DataTable.

Exceptions

relation is null.

Applies to

.NET 9 ja muud versioonid
Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

CreateChildView(String, Boolean)

Source:
DataRowView.cs
Source:
DataRowView.cs
Source:
DataRowView.cs

Returns a DataView for the child DataTable with the specified DataRelation name and parent.

public System.Data.DataView CreateChildView (string relationName, bool followParent);

Parameters

relationName
String

A string containing the DataRelation name.

followParent
Boolean

true to keep the created child view in sync with the parent; otherwise, false.

Returns

a DataView for the child DataTable.

Exceptions

relation is null.

Applies to

.NET 9 ja muud versioonid
Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1