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
- listitem.cs
- UICuesEvent.cs
- _SingleItemRequestCache.cs
- __Filters.cs
- typedescriptorpermissionattribute.cs
- WebPartCloseVerb.cs
- CacheChildrenQuery.cs
- TypeGeneratedEventArgs.cs
- PaperSource.cs
- SystemNetworkInterface.cs
- ExtenderHelpers.cs
- IsolatedStorageFilePermission.cs
- SamlAudienceRestrictionCondition.cs
- PaintValueEventArgs.cs
- cookieexception.cs
- UnsafeNativeMethodsTablet.cs
- FaultImportOptions.cs
- XsdValidatingReader.cs
- SelectionService.cs
- srgsitem.cs
- GlyphRun.cs
- XPathArrayIterator.cs
- CatalogZone.cs
- ValueTypeFixupInfo.cs
- Configuration.cs
- BezierSegment.cs
- activationcontext.cs
- UrlParameterReader.cs
- SessionState.cs
- StackSpiller.Bindings.cs
- TypeDescriptionProviderAttribute.cs
- FilterQuery.cs
- Triangle.cs
- _NestedMultipleAsyncResult.cs
- CompoundFileStreamReference.cs
- WebServicesInteroperability.cs
- ConnectionPointCookie.cs
- ToolStripRenderEventArgs.cs
- BinaryObjectWriter.cs
- _ChunkParse.cs
- DrawingState.cs
- ImpersonationContext.cs
- assemblycache.cs
- FileSystemWatcher.cs
- DependencyPropertyAttribute.cs
- MissingManifestResourceException.cs
- StringStorage.cs
- MatrixTransform.cs
- UnaryNode.cs
- ValueUnavailableException.cs
- RegistryHandle.cs
- TextParagraph.cs
- CodeTypeDelegate.cs
- ItemList.cs
- ActivityExecutorDelegateInfo.cs
- ConfigurationStrings.cs
- DESCryptoServiceProvider.cs
- PrincipalPermissionMode.cs
- WebPartManager.cs
- DataGridTextBoxColumn.cs
- MetafileHeaderWmf.cs
- RelationshipFixer.cs
- XamlStream.cs
- BindableTemplateBuilder.cs
- EventLogger.cs
- EntityCollection.cs
- QilXmlReader.cs
- LinkDesigner.cs
- TrackingCondition.cs
- SimpleParser.cs
- AudioException.cs
- XmlWrappingReader.cs
- ResourceDescriptionAttribute.cs
- RolePrincipal.cs
- DelayDesigner.cs
- AssemblyBuilderData.cs
- EndpointDispatcherTable.cs
- ImageList.cs
- StateMachineDesignerPaint.cs
- NumberFormatter.cs
- SystemColorTracker.cs
- HttpCookiesSection.cs
- CustomSignedXml.cs
- Timeline.cs
- EventDrivenDesigner.cs
- CodeConstructor.cs
- XmlILTrace.cs
- IconConverter.cs
- Timer.cs
- WebBrowserDesigner.cs
- PathStreamGeometryContext.cs
- ListViewUpdatedEventArgs.cs
- MethodSet.cs
- SafeSecurityHandles.cs
- PeerTransportListenAddressValidatorAttribute.cs
- BaseAddressElement.cs
- DataGridTablesFactory.cs
- AxHost.cs
- StringValidatorAttribute.cs
- TrackingStringDictionary.cs