संपादित करें

इसके माध्यम से साझा किया गया


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);
public System.Data.DataView CreateChildView (System.Data.DataRelation relation);
member this.CreateChildView : System.Data.DataRelation -> System.Data.DataView
Public Function CreateChildView (relation As DataRelation) As DataView

Parameters

relation
DataRelation

The DataRelation object.

Returns

a DataView for the child DataTable.

Applies to

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(System::String ^ relationName);
public System.Data.DataView CreateChildView (string relationName);
member this.CreateChildView : string -> System.Data.DataView
Public Function CreateChildView (relationName As String) As DataView

Parameters

relationName
String

A string containing the DataRelation name.

Returns

a DataView for the child DataTable.

Applies to

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);
public System.Data.DataView CreateChildView (System.Data.DataRelation relation, bool followParent);
member this.CreateChildView : System.Data.DataRelation * bool -> System.Data.DataView
Public Function CreateChildView (relation As DataRelation, followParent As Boolean) As DataView

Parameters

relation
DataRelation

The DataRelation object.

followParent
Boolean

The parent object.

Returns

A DataView for the child DataTable.

Exceptions

relation is null.

Applies to

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(System::String ^ relationName, bool followParent);
public System.Data.DataView CreateChildView (string relationName, bool followParent);
member this.CreateChildView : string * bool -> System.Data.DataView
Public Function CreateChildView (relationName As String, followParent As Boolean) As DataView

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