C# Класс System.Data.DataRowView

Наследование: ICustomTypeDescriptor, IEditableObject, IDataErrorInfo, INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DataRowView System.ComponentModel
GetColumnValue object
GetRecord int
HasRecord bool
ICustomTypeDescriptor System.ComponentModel.AttributeCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptor
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptor
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.TypeConverter
ICustomTypeDescriptor object
ICustomTypeDescriptor object
ICustomTypeDescriptor string
RaisePropertyChangedEvent void
SetColumnValue void
this stringIDataErrorInfo.System.ComponentModel

Открытые методы

Метод Описание
BeginEdit ( ) : void
CancelEdit ( ) : void
CreateChildView ( DataRelation relation ) : DataView
CreateChildView ( DataRelation relation, bool followParent ) : DataView

Returns a System.Data.DataView for the child System.Data.DataTable with the specified System.Data.DataRelation.

CreateChildView ( string relationName ) : DataView
CreateChildView ( string relationName, bool followParent ) : DataView

CreateChildView(DataRelation)

Delete ( ) : void
EndEdit ( ) : void
Equals ( object other ) : bool Checks for same reference instead of equivalent DataView or Row. Necessary for ListChanged event handlers to use data structures that use the default to object.Equals(object) instead of object.ReferenceEquals to understand if they need to add a PropertyChanged event handler.
GetHashCode ( ) : int
this ( int ndx ) : object

Gets or sets a value in specified column.

Uses either DataRowVersion.Default or DataRowVersion.Original to access Row

this ( string property ) : object

Gets the specified column value or related child view or sets a value in specified column.

Приватные методы

Метод Описание
DataRowView ( DataView dataView, DataRow row ) : System.ComponentModel
GetColumnValue ( DataColumn column ) : object
GetRecord ( ) : int
HasRecord ( ) : bool
ICustomTypeDescriptor ( ) : AttributeCollection
ICustomTypeDescriptor ( ) : System.ComponentModel.EventDescriptor
ICustomTypeDescriptor ( ) : EventDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : EventDescriptorCollection
ICustomTypeDescriptor ( ) : PropertyDescriptor
ICustomTypeDescriptor ( ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( ) : TypeConverter
ICustomTypeDescriptor ( PropertyDescriptor pd ) : object
ICustomTypeDescriptor ( Type editorBaseType ) : object
ICustomTypeDescriptor ( ) : string
RaisePropertyChangedEvent ( string propName ) : void
SetColumnValue ( DataColumn column, object value ) : void
this ( string colName ) : stringIDataErrorInfo.System.ComponentModel

Описание методов

BeginEdit() публичный Метод

public BeginEdit ( ) : void
Результат void

CancelEdit() публичный Метод

public CancelEdit ( ) : void
Результат void

CreateChildView() публичный Метод

public CreateChildView ( DataRelation relation ) : DataView
relation DataRelation
Результат DataView

CreateChildView() публичный Метод

Returns a System.Data.DataView for the child System.Data.DataTable with the specified System.Data.DataRelation.
null or mismatch between and .
public CreateChildView ( DataRelation relation, bool followParent ) : DataView
relation DataRelation Specified .
followParent bool
Результат DataView

CreateChildView() публичный Метод

public CreateChildView ( string relationName ) : DataView
relationName string
Результат DataView

CreateChildView() публичный Метод

CreateChildView(DataRelation)
Unmatched .
public CreateChildView ( string relationName, bool followParent ) : DataView
relationName string Specified name.
followParent bool
Результат DataView

Delete() публичный Метод

public Delete ( ) : void
Результат void

EndEdit() публичный Метод

public EndEdit ( ) : void
Результат void

Equals() публичный Метод

Checks for same reference instead of equivalent DataView or Row. Necessary for ListChanged event handlers to use data structures that use the default to object.Equals(object) instead of object.ReferenceEquals to understand if they need to add a PropertyChanged event handler.
public Equals ( object other ) : bool
other object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

this() публичный Метод

Gets or sets a value in specified column.
Uses either DataRowVersion.Default or DataRowVersion.Original to access Row
when setting a value.
public this ( int ndx ) : object
ndx int Specified column index.
Результат object

this() публичный Метод

Gets the specified column value or related child view or sets a value in specified column.
when is ambigous. Unmatched when getting a value. Unmatched when setting a value. when setting a value.
public this ( string property ) : object
property string Specified column or relation name when getting. Specified column name when setting.
Результат object