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
- AnonymousIdentificationSection.cs
- ListBoxItemWrapperAutomationPeer.cs
- MenuItem.cs
- UriTemplateLiteralPathSegment.cs
- LogicalTreeHelper.cs
- DataGridCommandEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SqlDataSourceQueryConverter.cs
- XmlQueryStaticData.cs
- Cursor.cs
- smtpconnection.cs
- ToolStripItemImageRenderEventArgs.cs
- AxHost.cs
- IdentityVerifier.cs
- ResourceAttributes.cs
- SHA1Managed.cs
- GenericEnumerator.cs
- UrlPath.cs
- SecurityDescriptor.cs
- ToolStripSettings.cs
- AsymmetricSignatureDeformatter.cs
- WmfPlaceableFileHeader.cs
- EventLogPermissionEntry.cs
- ControlAdapter.cs
- WhereQueryOperator.cs
- TargetException.cs
- XPathException.cs
- SQLDouble.cs
- ConnectionManagementSection.cs
- StagingAreaInputItem.cs
- WeakReferenceList.cs
- Int16KeyFrameCollection.cs
- StylusTip.cs
- SplayTreeNode.cs
- safesecurityhelperavalon.cs
- EUCJPEncoding.cs
- ViewManager.cs
- UnsafeNativeMethodsCLR.cs
- StandardBindingReliableSessionElement.cs
- ObjectAssociationEndMapping.cs
- SplitterCancelEvent.cs
- IntegrationExceptionEventArgs.cs
- SafeNativeMethods.cs
- SchemaObjectWriter.cs
- NavigatorOutput.cs
- HtmlEmptyTagControlBuilder.cs
- FormsAuthenticationUserCollection.cs
- BindingContext.cs
- BuilderPropertyEntry.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- CustomLineCap.cs
- Instrumentation.cs
- ApplicationServicesHostFactory.cs
- Setter.cs
- FamilyCollection.cs
- JournalEntryListConverter.cs
- TypeConverterValueSerializer.cs
- TransformGroup.cs
- ImpersonateTokenRef.cs
- CollectionBase.cs
- BindToObject.cs
- ObjectQueryProvider.cs
- TemplateComponentConnector.cs
- MailDefinition.cs
- GridViewAutomationPeer.cs
- ConnectionConsumerAttribute.cs
- DoubleLinkListEnumerator.cs
- SchemaCollectionCompiler.cs
- PropertyRef.cs
- XamlClipboardData.cs
- BufferedReceiveManager.cs
- SiteMap.cs
- UIPermission.cs
- Vector3DCollection.cs
- MouseEventArgs.cs
- ZipIOBlockManager.cs
- Annotation.cs
- LoginViewDesigner.cs
- HttpResponseMessageProperty.cs
- SqlCacheDependencySection.cs
- SessionStateSection.cs
- XmlSchemaRedefine.cs
- WarningException.cs
- ConvertersCollection.cs
- RightsManagementEncryptedStream.cs
- ImageClickEventArgs.cs
- XComponentModel.cs
- EventLogEntryCollection.cs
- initElementDictionary.cs
- SerializerDescriptor.cs
- MultiPropertyDescriptorGridEntry.cs
- HideDisabledControlAdapter.cs
- Interlocked.cs
- MenuItemCollectionEditor.cs
- ListViewHitTestInfo.cs
- storepermission.cs
- Parser.cs
- SafeProcessHandle.cs
- PagedDataSource.cs
- Membership.cs