DataRowView.CreateChildView Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.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 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.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 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.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 |
- 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.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: