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

適用於