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
- TextDecorationLocationValidation.cs
- DetailsViewInsertEventArgs.cs
- EntitySetRetriever.cs
- XamlPathDataSerializer.cs
- odbcmetadatafactory.cs
- GroupBox.cs
- LineBreakRecord.cs
- WinInet.cs
- CodeCommentStatementCollection.cs
- EventProvider.cs
- PersonalizationProvider.cs
- SystemIcmpV6Statistics.cs
- KeyInfo.cs
- FileAuthorizationModule.cs
- DataGridLinkButton.cs
- XmlAttributeOverrides.cs
- ThrowHelper.cs
- UrlAuthFailureHandler.cs
- TagPrefixAttribute.cs
- ControlCollection.cs
- DesignerLoader.cs
- SelectedGridItemChangedEvent.cs
- URLIdentityPermission.cs
- IDQuery.cs
- ControllableStoryboardAction.cs
- CookieProtection.cs
- ResourceReferenceExpressionConverter.cs
- SoapObjectReader.cs
- RenderContext.cs
- RightNameExpirationInfoPair.cs
- X509CertificateTrustedIssuerElementCollection.cs
- HostProtectionPermission.cs
- IResourceProvider.cs
- HostProtectionPermission.cs
- RSAProtectedConfigurationProvider.cs
- LogLogRecord.cs
- DockingAttribute.cs
- SqlCachedBuffer.cs
- SqlXmlStorage.cs
- DataGrid.cs
- GridPatternIdentifiers.cs
- HtmlInputRadioButton.cs
- DropAnimation.xaml.cs
- BasicCellRelation.cs
- TextRenderingModeValidation.cs
- UnsafeNativeMethods.cs
- ColorDialog.cs
- Form.cs
- GlobalizationSection.cs
- PageClientProxyGenerator.cs
- WebPartConnectionsCancelVerb.cs
- CodeParameterDeclarationExpression.cs
- InfoCardTraceRecord.cs
- PassportAuthenticationModule.cs
- Multiply.cs
- XmlObjectSerializerReadContext.cs
- MissingFieldException.cs
- FaultImportOptions.cs
- PerformanceCounterManager.cs
- ToolStripDropDownClosingEventArgs.cs
- DataGridViewRowConverter.cs
- ManagedFilter.cs
- TextCharacters.cs
- IfJoinedCondition.cs
- SuppressIldasmAttribute.cs
- SortFieldComparer.cs
- CapacityStreamGeometryContext.cs
- ProofTokenCryptoHandle.cs
- RegistryKey.cs
- ArithmeticLiteral.cs
- PolicyUnit.cs
- OLEDB_Enum.cs
- ParameterReplacerVisitor.cs
- ChangePasswordDesigner.cs
- ListItemConverter.cs
- OperationResponse.cs
- Header.cs
- XmlSubtreeReader.cs
- odbcmetadatacolumnnames.cs
- GetIndexBinder.cs
- EastAsianLunisolarCalendar.cs
- NumericPagerField.cs
- SqlInfoMessageEvent.cs
- TypeDescriptor.cs
- DiscreteKeyFrames.cs
- SafeThreadHandle.cs
- HttpStreamXmlDictionaryReader.cs
- Transform3DCollection.cs
- WindowExtensionMethods.cs
- DBCSCodePageEncoding.cs
- ParserStreamGeometryContext.cs
- StringFormat.cs
- ObjectConverter.cs
- ProcessHostFactoryHelper.cs
- XMLUtil.cs
- SettingsSavedEventArgs.cs
- EntityClassGenerator.cs
- DefaultTextStoreTextComposition.cs
- SystemEvents.cs
- EntityDataSourceView.cs