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
- BuildProvider.cs
- WorkerRequest.cs
- CodePageEncoding.cs
- SchemaCollectionPreprocessor.cs
- Size3DValueSerializer.cs
- SspiNegotiationTokenAuthenticator.cs
- GridViewDeleteEventArgs.cs
- UndoManager.cs
- PropertyDescriptorCollection.cs
- Types.cs
- DataListItemEventArgs.cs
- DataRecord.cs
- XPathDocumentIterator.cs
- QueryRelOp.cs
- ControlBindingsConverter.cs
- CdpEqualityComparer.cs
- MessageQueueEnumerator.cs
- LogSwitch.cs
- ImageFormat.cs
- Crc32Helper.cs
- ClientFormsAuthenticationMembershipProvider.cs
- DbProviderFactoriesConfigurationHandler.cs
- StickyNote.cs
- ControlPaint.cs
- RegexCaptureCollection.cs
- FormsAuthenticationTicket.cs
- IconConverter.cs
- ReadOnlyDataSourceView.cs
- DataGridCellsPanel.cs
- SQLMoney.cs
- DllNotFoundException.cs
- UriTemplatePathSegment.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ISFTagAndGuidCache.cs
- ObjectComplexPropertyMapping.cs
- ApplicationHost.cs
- LongValidatorAttribute.cs
- MemberListBinding.cs
- UrlPropertyAttribute.cs
- ComponentCommands.cs
- ParameterSubsegment.cs
- MatchingStyle.cs
- TextFormatter.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- InstanceOwnerQueryResult.cs
- WebPartActionVerb.cs
- UnsafeNativeMethods.cs
- ConditionedDesigner.cs
- GregorianCalendarHelper.cs
- Authorization.cs
- StatusStrip.cs
- StyleBamlTreeBuilder.cs
- EventLogger.cs
- OperatingSystem.cs
- formatstringdialog.cs
- HyperLinkStyle.cs
- TaiwanCalendar.cs
- TableLayoutStyleCollection.cs
- LinqDataSourceEditData.cs
- TypographyProperties.cs
- SqlClientPermission.cs
- Substitution.cs
- WebContext.cs
- Vector3dCollection.cs
- FreeFormDragDropManager.cs
- Page.cs
- BevelBitmapEffect.cs
- Rotation3D.cs
- RepeaterItemEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- StylusPointPropertyInfo.cs
- ClassData.cs
- CalendarSelectionChangedEventArgs.cs
- ListChangedEventArgs.cs
- safelinkcollection.cs
- SqlWebEventProvider.cs
- AssertUtility.cs
- DecoderBestFitFallback.cs
- TableStyle.cs
- Table.cs
- PropertyTabChangedEvent.cs
- LockingPersistenceProvider.cs
- DataGrid.cs
- TextServicesCompartmentEventSink.cs
- CapabilitiesState.cs
- AutomationIdentifierGuids.cs
- WebRequest.cs
- DataRowChangeEvent.cs
- EventSinkActivityDesigner.cs
- GZipUtils.cs
- CodeTypeDeclaration.cs
- SoapElementAttribute.cs
- WindowsTooltip.cs
- PostBackTrigger.cs
- SymbolType.cs
- TraceContextEventArgs.cs
- SqlNotificationRequest.cs
- ImageSource.cs
- FactoryRecord.cs
- WebBrowserContainer.cs