Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- ToolStripManager.cs
- Debug.cs
- RuleSetReference.cs
- ActiveXMessageFormatter.cs
- PhysicalAddress.cs
- PopupEventArgs.cs
- WorkflowApplicationAbortedEventArgs.cs
- WindowsSolidBrush.cs
- UInt64Converter.cs
- DataGridViewRowsRemovedEventArgs.cs
- XmlTypeMapping.cs
- XmlSchemaAttributeGroupRef.cs
- SnapLine.cs
- WebPartConnectionsCloseVerb.cs
- Typeface.cs
- AsyncOperation.cs
- ToolboxCategory.cs
- SortedDictionary.cs
- CacheRequest.cs
- WindowInteropHelper.cs
- Panel.cs
- TextServicesCompartment.cs
- ApplicationGesture.cs
- OAVariantLib.cs
- DesignTimeTemplateParser.cs
- EventLogLink.cs
- NamespaceQuery.cs
- TextEditorCharacters.cs
- PreProcessor.cs
- AnnotationMap.cs
- RoutedUICommand.cs
- DefaultShape.cs
- XmlSchema.cs
- ExpressionList.cs
- StandardOleMarshalObject.cs
- LinkConverter.cs
- AnnotationMap.cs
- NativeWrapper.cs
- UdpTransportBindingElement.cs
- HandleCollector.cs
- SwitchAttribute.cs
- PolyBezierSegmentFigureLogic.cs
- XmlSchemaGroupRef.cs
- SqlCacheDependency.cs
- SymbolEqualComparer.cs
- XmlSchemaImporter.cs
- TypedColumnHandler.cs
- TypeBinaryExpression.cs
- Pen.cs
- GetParentChain.cs
- ClientBuildManager.cs
- BaseTemplateBuildProvider.cs
- EntityStoreSchemaGenerator.cs
- HandlerFactoryCache.cs
- DataGridAutoFormat.cs
- CapacityStreamGeometryContext.cs
- WebEventCodes.cs
- TextParaLineResult.cs
- AuthorizationRule.cs
- ProjectionPruner.cs
- HtmlInputText.cs
- RegexRunner.cs
- SectionInput.cs
- ZipArchive.cs
- TaskSchedulerException.cs
- StyleCollectionEditor.cs
- MobileControlsSection.cs
- TransferRequestHandler.cs
- PrincipalPermission.cs
- XmlNamedNodeMap.cs
- EditingScope.cs
- DataColumnPropertyDescriptor.cs
- CompilationUtil.cs
- safelink.cs
- TripleDES.cs
- ZipIOLocalFileHeader.cs
- ModelItem.cs
- PropertyValueChangedEvent.cs
- CmsUtils.cs
- _MultipleConnectAsync.cs
- ElapsedEventArgs.cs
- UnmanagedMemoryStream.cs
- SingleStorage.cs
- Match.cs
- CodeEntryPointMethod.cs
- xmlglyphRunInfo.cs
- CodeAttributeDeclaration.cs
- ContentPosition.cs
- TextBlockAutomationPeer.cs
- NumberEdit.cs
- ImageSourceConverter.cs
- RC2.cs
- AsyncStreamReader.cs
- ActiveDocumentEvent.cs
- _RegBlobWebProxyDataBuilder.cs
- Int32CollectionConverter.cs
- OdbcConnectionPoolProviderInfo.cs
- EntityExpressionVisitor.cs
- BamlLocalizationDictionary.cs
- FormViewPageEventArgs.cs