DataRowView.DataView 属性

定义

获取该行所属的 DataViewGets the DataView to which this row belongs.

public:
 property System::Data::DataView ^ DataView { System::Data::DataView ^ get(); };
public System.Data.DataView DataView { get; }
member this.DataView : System.Data.DataView
Public ReadOnly Property DataView As DataView

属性值

DataView

该行所属的 DataViewThe DataView to which this row belongs.

示例

下面的示例返回 DataView 指定的 DataRowViewThe following example returns the DataView of the specified DataRowView.

private DataView ReturnDataView(DataRowView rowView)
{
    return rowView.DataView;
}
Private Function ReturnDataView( _
    rowView As DataRowView) As DataView
    Return rowView.DataView
End Function

适用于