DataRowView.CreateChildView Method     
Definition
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.
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
- 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.DataViewPublic Function CreateChildView (relation As DataRelation) As DataViewParameters
- 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
- 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.DataViewPublic Function CreateChildView (relationName As String) As DataViewParameters
- 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
- 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.DataViewPublic Function CreateChildView (relation As DataRelation, followParent As Boolean) As DataViewParameters
- 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
- 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.DataViewPublic Function CreateChildView (relationName As String, followParent As Boolean) As DataViewParameters
- 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
relationName could not be matched.