Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Dom / XmlLinkedNode.cs / 1305376 / XmlLinkedNode.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml { // Gets the node immediately preceeding or following this node. public abstract class XmlLinkedNode: XmlNode { internal XmlLinkedNode next; internal XmlLinkedNode(): base() { next = null; } internal XmlLinkedNode( XmlDocument doc ): base( doc ) { next = null; } // Gets the node immediately preceding this node. public override XmlNode PreviousSibling { get { XmlNode parent = ParentNode; if (parent != null) { XmlNode node = parent.FirstChild; while (node != null) { XmlNode nextSibling = node.NextSibling; if (nextSibling == this) { break; } node = nextSibling; } return node; } return null; } } // Gets the node immediately following this node. public override XmlNode NextSibling { get { XmlNode parent = ParentNode; if (parent != null) { if (next != parent.FirstChild) return next; } return 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
- DataRelationCollection.cs
- FormViewPagerRow.cs
- CrossAppDomainChannel.cs
- returneventsaver.cs
- ACL.cs
- List.cs
- PngBitmapEncoder.cs
- SurrogateSelector.cs
- RawStylusInput.cs
- CompositionTarget.cs
- TreeViewImageGenerator.cs
- ContentPropertyAttribute.cs
- CharacterMetricsDictionary.cs
- CopyNamespacesAction.cs
- listitem.cs
- ExpressionEditorAttribute.cs
- ValidatorCompatibilityHelper.cs
- SqlUtils.cs
- HttpVersion.cs
- MSG.cs
- VectorCollectionValueSerializer.cs
- CacheChildrenQuery.cs
- MissingMethodException.cs
- NotifyParentPropertyAttribute.cs
- BaseTemplateParser.cs
- LocalBuilder.cs
- KeyManager.cs
- ParallelLoopState.cs
- DataBoundControlParameterTarget.cs
- WizardStepBase.cs
- SecurityTokenRequirement.cs
- SplitterPanel.cs
- sqlmetadatafactory.cs
- SimpleRecyclingCache.cs
- Errors.cs
- InheritanceContextChangedEventManager.cs
- Rss20FeedFormatter.cs
- ImageClickEventArgs.cs
- AttachInfo.cs
- AsyncDataRequest.cs
- SymbolType.cs
- DesignRelation.cs
- PathFigure.cs
- AspNetRouteServiceHttpHandler.cs
- TextControlDesigner.cs
- FocusChangedEventArgs.cs
- Item.cs
- QilInvokeEarlyBound.cs
- DecoderFallback.cs
- sqlnorm.cs
- ServiceDescriptionContext.cs
- ThrowHelper.cs
- IdentityManager.cs
- SimpleBitVector32.cs
- LOSFormatter.cs
- VarInfo.cs
- WindowsSysHeader.cs
- BufferedWebEventProvider.cs
- XPathDocument.cs
- PropertyTab.cs
- Duration.cs
- HwndTarget.cs
- BindingListCollectionView.cs
- ImageClickEventArgs.cs
- StylusSystemGestureEventArgs.cs
- CroppedBitmap.cs
- ResXBuildProvider.cs
- RootBuilder.cs
- UntypedNullExpression.cs
- StreamResourceInfo.cs
- CopyNamespacesAction.cs
- ScalarConstant.cs
- ReadOnlyMetadataCollection.cs
- RuleSetCollection.cs
- SqlConnectionPoolProviderInfo.cs
- SecurityRuntime.cs
- safesecurityhelperavalon.cs
- ZipPackagePart.cs
- WmlControlAdapter.cs
- SqlBuilder.cs
- ToolStripHighContrastRenderer.cs
- PageBreakRecord.cs
- DataGridHyperlinkColumn.cs
- CorrelationToken.cs
- XmlUtil.cs
- FormsAuthenticationModule.cs
- ServiceOperationHelpers.cs
- ObjectDataSource.cs
- ReferenceEqualityComparer.cs
- InstanceDataCollectionCollection.cs
- SQLBinary.cs
- CreateSequenceResponse.cs
- Iis7Helper.cs
- NotConverter.cs
- TextRenderingModeValidation.cs
- CustomAttributeSerializer.cs
- SecurityKeyUsage.cs
- NamespaceQuery.cs
- BitArray.cs
- SEHException.cs