DataRowView.CreateChildView 方法

定义

返回子级 DataViewDataTable

重载

CreateChildView(DataRelation)

返回具有指定的子级 DataView 的子级 DataTableDataRelation

CreateChildView(String)

返回具有指定的子级 DataView 名称的子级 DataTableDataRelation

CreateChildView(DataRelation, Boolean)

返回具有指定的 DataRelation 及父级的子级 DataTableDataView

CreateChildView(String, Boolean)

返回具有指定的 DataView 及父级的子级 DataTableDataRelation

CreateChildView(DataRelation)

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

返回具有指定的子级 DataView 的子级 DataTableDataRelation

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

参数

relation
DataRelation

DataRelation 对象。

返回

子级 DataViewDataTable

适用于

CreateChildView(String)

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

返回具有指定的子级 DataView 名称的子级 DataTableDataRelation

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

参数

relationName
String

一个包含 DataRelation 名称的字符串。

返回

子级 DataViewDataTable

适用于

CreateChildView(DataRelation, Boolean)

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

返回具有指定的 DataRelation 及父级的子级 DataTableDataView

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

参数

relation
DataRelation

DataRelation 对象。

followParent
Boolean

父 对象。

返回

子级 DataViewDataTable

例外

relationnull

适用于

CreateChildView(String, Boolean)

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

返回具有指定的 DataView 及父级的子级 DataTableDataRelation

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

参数

relationName
String

一个包含 DataRelation 名称的字符串。

followParent
Boolean

要使创建的子视图与父级视图保持同步,则为 true;否则,则为 false

返回

子级 DataViewDataTable

例外

relationnull

适用于