Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / NewXml / BaseTreeIterator.cs / 1305376 / BaseTreeIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Xml { // Iterates over non-attribute nodes internal abstract class BaseTreeIterator { protected DataSetMapper mapper; internal BaseTreeIterator( DataSetMapper mapper ) { this.mapper = mapper; } internal abstract void Reset(); internal abstract XmlNode CurrentNode { get; } internal abstract bool Next(); internal abstract bool NextRight(); internal bool NextRowElement() { while ( Next() ) { if ( OnRowElement() ) return true; } return false; } internal bool NextRightRowElement() { if ( NextRight() ) { if ( OnRowElement() ) return true; return NextRowElement(); } return false; } // Returns true if the current node is on a row element (head of a region) internal bool OnRowElement() { XmlBoundElement be = CurrentNode as XmlBoundElement; return (be != null) && (be.Row != null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathNavigatorKeyComparer.cs
- RadialGradientBrush.cs
- ClickablePoint.cs
- Vertex.cs
- WebScriptMetadataMessage.cs
- RawUIStateInputReport.cs
- cryptoapiTransform.cs
- XmlSerializationReader.cs
- TextControl.cs
- CheckBox.cs
- AdapterDictionary.cs
- IPGlobalProperties.cs
- KeysConverter.cs
- Serializer.cs
- RedistVersionInfo.cs
- SchemaCollectionPreprocessor.cs
- PolygonHotSpot.cs
- HelloMessageCD1.cs
- OdbcReferenceCollection.cs
- DeviceSpecificDialogCachedState.cs
- SqlDataSourceCustomCommandPanel.cs
- SerializerProvider.cs
- RestClientProxyHandler.cs
- StoreItemCollection.cs
- PlatformCulture.cs
- ImageConverter.cs
- PropagatorResult.cs
- RulePatternOps.cs
- FreeFormDragDropManager.cs
- ManagementEventArgs.cs
- UserControlParser.cs
- XmlCharType.cs
- InkCanvas.cs
- SoapConverter.cs
- SqlTrackingQuery.cs
- HtmlForm.cs
- XPathDocumentBuilder.cs
- HttpStreamXmlDictionaryWriter.cs
- DataGridViewAdvancedBorderStyle.cs
- DataGridCheckBoxColumn.cs
- JpegBitmapDecoder.cs
- WindowHideOrCloseTracker.cs
- FlowDocumentFormatter.cs
- ADRoleFactoryConfiguration.cs
- XmlDataDocument.cs
- LinqToSqlWrapper.cs
- ListParaClient.cs
- CodeAssignStatement.cs
- ConfigurationException.cs
- DBParameter.cs
- GridPattern.cs
- Subtree.cs
- LinkLabelLinkClickedEvent.cs
- BaseAppDomainProtocolHandler.cs
- HorizontalAlignConverter.cs
- PrivilegeNotHeldException.cs
- SessionEndingEventArgs.cs
- ValidationErrorCollection.cs
- PageContentAsyncResult.cs
- ToolBar.cs
- DbExpressionVisitor.cs
- ThreadStaticAttribute.cs
- ReadOnlyDataSourceView.cs
- XmlReflectionImporter.cs
- SafePEFileHandle.cs
- MediaCommands.cs
- Boolean.cs
- CodeDirectiveCollection.cs
- DbgUtil.cs
- HtmlTableRowCollection.cs
- MetadataProperty.cs
- BorderGapMaskConverter.cs
- TextTreeObjectNode.cs
- DataKey.cs
- InvokePatternIdentifiers.cs
- SqlErrorCollection.cs
- UrlMappingCollection.cs
- ObjectPropertyMapping.cs
- EntityReference.cs
- PropertiesTab.cs
- ByeOperationCD1AsyncResult.cs
- HttpAsyncResult.cs
- XmlWrappingWriter.cs
- ProcessThreadCollection.cs
- TableCellAutomationPeer.cs
- TrustLevelCollection.cs
- XmlSchemaFacet.cs
- QueryCreatedEventArgs.cs
- PasswordPropertyTextAttribute.cs
- BitmapEffectDrawingContextWalker.cs
- ClientOptions.cs
- Operator.cs
- OpenTypeCommon.cs
- ToolTipAutomationPeer.cs
- NavigationPropertyEmitter.cs
- LogicalExpr.cs
- OleDbDataAdapter.cs
- WebHttpSecurityModeHelper.cs
- DataListCommandEventArgs.cs
- WebReferenceCollection.cs