Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Dom / XmlLinkedNode.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MetaModel.cs
- InternalTypeHelper.cs
- UserValidatedEventArgs.cs
- StopStoryboard.cs
- WebPartTransformer.cs
- SqlError.cs
- XmlSchemaException.cs
- DetailsViewModeEventArgs.cs
- ValueChangedEventManager.cs
- GuidelineCollection.cs
- ExpressionHelper.cs
- Int16Animation.cs
- MetafileHeaderWmf.cs
- AccessibleObject.cs
- HttpCookieCollection.cs
- BuildProvidersCompiler.cs
- SqlTopReducer.cs
- SchemaImporter.cs
- HighlightVisual.cs
- Property.cs
- BlockUIContainer.cs
- RichTextBoxConstants.cs
- SelectionRangeConverter.cs
- Pair.cs
- XmlUtil.cs
- ResourceReader.cs
- CanExecuteRoutedEventArgs.cs
- XomlCompiler.cs
- TextAdaptor.cs
- WorkflowMarkupElementEventArgs.cs
- CommandSet.cs
- GenericPrincipal.cs
- EncodingNLS.cs
- TableLayoutStyle.cs
- XMLDiffLoader.cs
- ClientSession.cs
- FileCodeGroup.cs
- MiniMapControl.xaml.cs
- WebPartTransformerAttribute.cs
- SecurityResources.cs
- Behavior.cs
- Stacktrace.cs
- Transform3D.cs
- FacetValueContainer.cs
- InputBinder.cs
- SqlBulkCopy.cs
- RegexMatchCollection.cs
- QueryCursorEventArgs.cs
- SmiMetaData.cs
- MobilePage.cs
- BlurBitmapEffect.cs
- EventBuilder.cs
- MatrixValueSerializer.cs
- EdmRelationshipRoleAttribute.cs
- DataGridViewDataErrorEventArgs.cs
- IntegrationExceptionEventArgs.cs
- Thumb.cs
- HierarchicalDataBoundControl.cs
- BaseServiceProvider.cs
- SqlConnectionString.cs
- IdentityHolder.cs
- XhtmlTextWriter.cs
- ChangeNode.cs
- PathData.cs
- StringFunctions.cs
- ExternalCalls.cs
- SourceElementsCollection.cs
- RadioButtonPopupAdapter.cs
- CompiledQuery.cs
- StoragePropertyMapping.cs
- MappingMetadataHelper.cs
- CacheChildrenQuery.cs
- TypeConstant.cs
- COM2IDispatchConverter.cs
- DataGridViewImageCell.cs
- HttpWriter.cs
- XmlNodeComparer.cs
- CompositeFontParser.cs
- RelationshipFixer.cs
- TypeDescriptionProvider.cs
- HandledMouseEvent.cs
- Int32EqualityComparer.cs
- UserMapPath.cs
- AppDomainShutdownMonitor.cs
- CodeSubDirectoriesCollection.cs
- BlurBitmapEffect.cs
- SelectionBorderGlyph.cs
- SqlGatherProducedAliases.cs
- KeySplineConverter.cs
- CodeAttributeDeclaration.cs
- WebZone.cs
- XmlQueryOutput.cs
- ParsedRoute.cs
- View.cs
- LicenseProviderAttribute.cs
- XmlStringTable.cs
- ResXResourceReader.cs
- TrackingStringDictionary.cs
- ElementUtil.cs
- BindUriHelper.cs