C# Class System.Xml.XmlDataDocument

Inheritance: XmlDocument
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
AddPointer void
AssertLiveRows void
AssertNonLiveRows void
AssertPointerPresent void
AttachBoundElementToDataRow XmlBoundElement
AttachDataSet void
Bind void
Bind void
BindForLoad void
BindListeners void
BindSpecialListeners void
BindToDataSet void
BindToDocument void
BindToTable void
CloneNode XmlNode
CloneTree XmlNode
CloneTreeInternal XmlNode
DefoliateRegion void
DemoteDocumentElement XmlElement
EnsureDisconnectedDataRow void
EnsureDocumentElement XmlElement
EnsureFoliation void
EnsureNonRowDocumentElement XmlElement
EnsurePopulatedMode void
FindAssociatedParentColumn DataColumn
FixNestedChildren void
Foliate void
Foliate void
FoliateIfDataPointers void
ForceFoliation void
GetColumnInsertAfterLocation XmlNode
GetNestedChildRelations ArrayList
GetNestedParent DataRow
GetNestedParentRelation DataRelation
GetRowInsertBeforeLocation XmlNode
GetTextOnlyColumn DataColumn
HasPointers bool
Init void
Init void
IsConnected bool
IsFoliated bool
IsFoliated bool
IsNotMapped bool
IsRowLive bool
IsSame bool
IsSelfRelatedDataTable bool
IsTextLikeNode bool
IsTextNode bool
IsTextOnly bool
LoadDataSetFromTree void
LoadRows void
LoadTreeFromDataSet void
NeedXSI_NilAttr bool
OnAddRow void
OnClearCalled void
OnColumnChanged void
OnColumnPropertyChanging void
OnColumnValueChanged void
OnColumnValuesChanged void
OnDataRowCreated void
OnDataRowCreatedSpecial void
OnDataSetPropertyChanging void
OnDataSetRelationsChanging void
OnDataSetTablesChanging void
OnDeleteRow void
OnDeletingRow void
OnFoliated void
OnNestedParentChange void
OnNewRow void
OnNodeChanged void
OnNodeChanging void
OnNodeInserted void
OnNodeInsertedInFragment void
OnNodeInsertedInTree void
OnNodeInserting void
OnNodeRemoved void
OnNodeRemovedFromFragment void
OnNodeRemovedFromTree void
OnNodeRemoving void
OnNonRowElementInsertedInFragment void
OnNonRowElementInsertedInTree void
OnRelationPropertyChanging void
OnRowChanged void
OnRowChanging void
OnRowElementInsertedInTree void
OnTableColumnsChanging void
OnTablePropertyChanging void
OnUndeleteRow void
OrderTables DataTable[]
PromoteChild void
PromoteInnerRegions void
PromoteNonValueChildren void
RemoveInitialTextNodes void
ReplaceInitialChildText void
SafeFirstChild XmlNode
SafeNextSibling XmlNode
SafePreviousSibling XmlNode
SetNestedParentRegion void
SetNestedParentRegion void
SetNestedParentRow void
SetRowValueFromXmlText void
SetRowValueToNull void
SyncRows void
SyncTree void
SynchronizeRowFromRowElement void
SynchronizeRowFromRowElement void
SynchronizeRowFromRowElementEx void
TablesAreOrdered bool
UnBindSpecialListeners void
UpdateAllColumns void
XmlDataDocument System.Collections

Méthodes publiques

Méthode Description
CloneNode ( bool deep ) : XmlNode
CreateElement ( string prefix, string localName, string namespaceURI ) : XmlElement

Creates an element with the specified Prefix, LocalName, and NamespaceURI.

CreateEntityReference ( string name ) : XmlEntityReference
GetElementById ( string elemId ) : XmlElement
GetElementFromRow ( DataRow r ) : XmlElement

Retrieves the XmlElement associated with the specified DataRow.

GetElementsByTagName ( string name ) : XmlNodeList
GetRowFromElement ( XmlElement e ) : DataRow

Retrieves the DataRow associated with the specified XmlElement.

Load ( Stream inStream ) : void

Loads the XML document from the specified Stream.

Load ( TextReader txtReader ) : void

Loads the XML document from the specified TextReader.

Load ( XmlReader reader ) : void

Loads the XML document from the specified XmlReader.

Load ( string filename ) : void

Loads the XML document from the specified file.

XmlDataDocument ( ) : System.Collections

Initializes a new instance of the XmlDataDocument class.

XmlDataDocument ( DataSet dataset ) : System.Collections

Initializes a new instance of the XmlDataDocument class with the specified DataSet.

Méthodes protégées

Méthode Description
CreateNavigator ( XmlNode node ) : XPathNavigator

Private Methods

Méthode Description
AddPointer ( IXmlDataVirtualNode pointer ) : void
AssertLiveRows ( XmlNode node ) : void
AssertNonLiveRows ( XmlNode node ) : void
AssertPointerPresent ( IXmlDataVirtualNode pointer ) : void
AttachBoundElementToDataRow ( DataRow row ) : XmlBoundElement
AttachDataSet ( DataSet ds ) : void
Bind ( DataRow r, XmlBoundElement e ) : void
Bind ( bool fLoadFromDataSet ) : void
BindForLoad ( ) : void
BindListeners ( ) : void
BindSpecialListeners ( ) : void
BindToDataSet ( ) : void
BindToDocument ( ) : void
BindToTable ( DataTable t ) : void
CloneNode ( DataPointer dp ) : XmlNode
CloneTree ( DataPointer other ) : XmlNode
CloneTreeInternal ( DataPointer other ) : XmlNode
DefoliateRegion ( XmlBoundElement rowElem ) : void
DemoteDocumentElement ( ) : XmlElement
EnsureDisconnectedDataRow ( XmlBoundElement rowElem ) : void
EnsureDocumentElement ( ) : XmlElement
EnsureFoliation ( XmlBoundElement rowElem, ElementState foliation ) : void
EnsureNonRowDocumentElement ( ) : XmlElement
EnsurePopulatedMode ( ) : void
FindAssociatedParentColumn ( DataRelation relation, DataColumn childCol ) : DataColumn
FixNestedChildren ( DataRow row, XmlElement rowElement ) : void
Foliate ( XmlBoundElement node, ElementState newState ) : void
Foliate ( XmlElement element ) : void
FoliateIfDataPointers ( DataRow row, XmlElement rowElement ) : void
ForceFoliation ( XmlBoundElement node, ElementState newState ) : void
GetColumnInsertAfterLocation ( DataRow row, DataColumn col, XmlBoundElement rowElement ) : XmlNode
GetNestedChildRelations ( DataRow row ) : ArrayList
GetNestedParent ( DataRow row ) : DataRow
GetNestedParentRelation ( DataRow row ) : DataRelation
GetRowInsertBeforeLocation ( DataRow row, XmlElement rowElement, XmlNode parentElement ) : XmlNode
GetTextOnlyColumn ( DataRow row ) : DataColumn
HasPointers ( XmlNode node ) : bool
Init ( ) : void
Init ( DataSet ds ) : void
IsConnected ( XmlNode node ) : bool
IsFoliated ( XmlBoundElement be ) : bool
IsFoliated ( XmlElement element ) : bool
IsNotMapped ( DataColumn c ) : bool
IsRowLive ( DataRow row ) : bool
IsSame ( DataColumn c, int recNo1, int recNo2 ) : bool
IsSelfRelatedDataTable ( DataTable rootTable ) : bool
IsTextLikeNode ( XmlNode n ) : bool
IsTextNode ( XmlNodeType nt ) : bool
IsTextOnly ( DataColumn c ) : bool
LoadDataSetFromTree ( ) : void
LoadRows ( XmlBoundElement rowElem, XmlNode node ) : void
LoadTreeFromDataSet ( DataSet ds ) : void
NeedXSI_NilAttr ( DataRow row ) : bool
OnAddRow ( DataRow row ) : void
OnClearCalled ( object oDataSet, DataTable table ) : void
OnColumnChanged ( object sender, DataColumnChangeEventArgs args ) : void
OnColumnPropertyChanging ( object oColumn, PropertyChangedEventArgs args ) : void
OnColumnValueChanged ( DataRow row, DataColumn col, XmlBoundElement rowElement ) : void
OnColumnValuesChanged ( DataRow row, XmlBoundElement rowElement ) : void
OnDataRowCreated ( object oDataSet, DataRow row ) : void
OnDataRowCreatedSpecial ( object oDataSet, DataRow row ) : void
OnDataSetPropertyChanging ( object oDataSet, PropertyChangedEventArgs args ) : void
OnDataSetRelationsChanging ( object oRelationsCollection, CollectionChangeEventArgs args ) : void
OnDataSetTablesChanging ( object oTablesCollection, CollectionChangeEventArgs args ) : void
OnDeleteRow ( DataRow row, XmlBoundElement rowElement ) : void
OnDeletingRow ( DataRow row, XmlBoundElement rowElement ) : void
OnFoliated ( XmlNode node ) : void
OnNestedParentChange ( DataRow child, XmlBoundElement childElement, DataColumn childCol ) : void
OnNewRow ( DataRow row ) : void
OnNodeChanged ( object sender, XmlNodeChangedEventArgs args ) : void
OnNodeChanging ( object sender, XmlNodeChangedEventArgs args ) : void
OnNodeInserted ( object sender, XmlNodeChangedEventArgs args ) : void
OnNodeInsertedInFragment ( XmlNode node ) : void
OnNodeInsertedInTree ( XmlNode node ) : void
OnNodeInserting ( object sender, XmlNodeChangedEventArgs args ) : void
OnNodeRemoved ( object sender, XmlNodeChangedEventArgs args ) : void
OnNodeRemovedFromFragment ( XmlNode node, XmlNode oldParent ) : void
OnNodeRemovedFromTree ( XmlNode node, XmlNode oldParent ) : void
OnNodeRemoving ( object sender, XmlNodeChangedEventArgs args ) : void
OnNonRowElementInsertedInFragment ( XmlNode node, XmlBoundElement rowElement, ArrayList rowElemList ) : void
OnNonRowElementInsertedInTree ( XmlNode node, XmlBoundElement rowElement, ArrayList rowElemList ) : void
OnRelationPropertyChanging ( object oRelationsCollection, PropertyChangedEventArgs args ) : void
OnRowChanged ( object sender, DataRowChangeEventArgs args ) : void
OnRowChanging ( object sender, DataRowChangeEventArgs args ) : void
OnRowElementInsertedInTree ( XmlBoundElement rowElem, ArrayList rowElemList ) : void
OnTableColumnsChanging ( object oColumnsCollection, CollectionChangeEventArgs args ) : void
OnTablePropertyChanging ( object oTable, PropertyChangedEventArgs args ) : void
OnUndeleteRow ( DataRow row, XmlElement rowElement ) : void
OrderTables ( DataSet ds ) : DataTable[]
PromoteChild ( XmlNode child, XmlNode prevSibling ) : void
PromoteInnerRegions ( XmlNode parent ) : void
PromoteNonValueChildren ( XmlNode parent ) : void
RemoveInitialTextNodes ( XmlNode node ) : void
ReplaceInitialChildText ( XmlNode parent, string value ) : void
SafeFirstChild ( XmlNode n ) : XmlNode
SafeNextSibling ( XmlNode n ) : XmlNode
SafePreviousSibling ( XmlNode n ) : XmlNode
SetNestedParentRegion ( XmlBoundElement childRowElem ) : void
SetNestedParentRegion ( XmlBoundElement childRowElem, XmlBoundElement parentRowElem ) : void
SetNestedParentRow ( DataRow childRow, DataRow parentRow ) : void
SetRowValueFromXmlText ( DataRow row, DataColumn col, string xmlText ) : void
SetRowValueToNull ( DataRow row, DataColumn col ) : void
SyncRows ( DataRow parentRow, XmlNode node, bool fAddRowsToTable ) : void
SyncTree ( XmlNode node ) : void
SynchronizeRowFromRowElement ( XmlBoundElement rowElement ) : void
SynchronizeRowFromRowElement ( XmlBoundElement rowElement, ArrayList rowElemList ) : void
SynchronizeRowFromRowElementEx ( XmlBoundElement rowElement, ArrayList rowElemList ) : void
TablesAreOrdered ( DataSet ds ) : bool
UnBindSpecialListeners ( ) : void
UpdateAllColumns ( DataRow row, XmlBoundElement rowElement ) : void
XmlDataDocument ( XmlImplementation imp ) : System.Collections

Method Details

CloneNode() public méthode

public CloneNode ( bool deep ) : XmlNode
deep bool
Résultat XmlNode

CreateElement() public méthode

Creates an element with the specified Prefix, LocalName, and NamespaceURI.
public CreateElement ( string prefix, string localName, string namespaceURI ) : XmlElement
prefix string
localName string
namespaceURI string
Résultat XmlElement

CreateEntityReference() public méthode

public CreateEntityReference ( string name ) : XmlEntityReference
name string
Résultat XmlEntityReference

CreateNavigator() protected méthode

protected CreateNavigator ( XmlNode node ) : XPathNavigator
node XmlNode
Résultat XPathNavigator

GetElementById() public méthode

public GetElementById ( string elemId ) : XmlElement
elemId string
Résultat XmlElement

GetElementFromRow() public méthode

Retrieves the XmlElement associated with the specified DataRow.
public GetElementFromRow ( DataRow r ) : XmlElement
r DataRow
Résultat XmlElement

GetElementsByTagName() public méthode

public GetElementsByTagName ( string name ) : XmlNodeList
name string
Résultat XmlNodeList

GetRowFromElement() public méthode

Retrieves the DataRow associated with the specified XmlElement.
public GetRowFromElement ( XmlElement e ) : DataRow
e XmlElement
Résultat DataRow

Load() public méthode

Loads the XML document from the specified Stream.
public Load ( Stream inStream ) : void
inStream Stream
Résultat void

Load() public méthode

Loads the XML document from the specified TextReader.
public Load ( TextReader txtReader ) : void
txtReader TextReader
Résultat void

Load() public méthode

Loads the XML document from the specified XmlReader.
public Load ( XmlReader reader ) : void
reader XmlReader
Résultat void

Load() public méthode

Loads the XML document from the specified file.
public Load ( string filename ) : void
filename string
Résultat void

XmlDataDocument() public méthode

Initializes a new instance of the XmlDataDocument class.
public XmlDataDocument ( ) : System.Collections
Résultat System.Collections

XmlDataDocument() public méthode

Initializes a new instance of the XmlDataDocument class with the specified DataSet.
public XmlDataDocument ( DataSet dataset ) : System.Collections
dataset DataSet
Résultat System.Collections