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
- Brush.cs
- ProcessHostMapPath.cs
- SafeRightsManagementEnvironmentHandle.cs
- NullableLongAverageAggregationOperator.cs
- FileSystemWatcher.cs
- SectionInformation.cs
- XmlConvert.cs
- AtlasWeb.Designer.cs
- BaseAppDomainProtocolHandler.cs
- RouteUrlExpressionBuilder.cs
- Oci.cs
- DataServiceHostFactory.cs
- DateBoldEvent.cs
- PrivateFontCollection.cs
- SafeFileMapViewHandle.cs
- AttributeAction.cs
- WmfPlaceableFileHeader.cs
- HtmlTernaryTree.cs
- Rfc2898DeriveBytes.cs
- AttributeAction.cs
- ToolStripProgressBar.cs
- DataGridViewUtilities.cs
- While.cs
- ImageListUtils.cs
- BlurEffect.cs
- DSASignatureDeformatter.cs
- CodeAssignStatement.cs
- XmlSchemaInclude.cs
- EntityDataSourceChangingEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- HyperLinkField.cs
- ButtonPopupAdapter.cs
- ContentAlignmentEditor.cs
- StringConcat.cs
- EmptyCollection.cs
- ConfigurationStrings.cs
- HostVisual.cs
- WindowsFont.cs
- CommandEventArgs.cs
- Flowchart.cs
- AssemblySettingAttributes.cs
- HighlightComponent.cs
- KeyConverter.cs
- PreservationFileWriter.cs
- SqlInfoMessageEvent.cs
- StringFreezingAttribute.cs
- SafeFreeMibTable.cs
- CommentEmitter.cs
- XmlNamedNodeMap.cs
- TaiwanCalendar.cs
- XsdDataContractExporter.cs
- SchemaComplexType.cs
- PeerCustomResolverBindingElement.cs
- PropertyPushdownHelper.cs
- Column.cs
- WorkflowWebService.cs
- AnnotationDocumentPaginator.cs
- StreamReader.cs
- GradientStopCollection.cs
- GenericRootAutomationPeer.cs
- ComplexBindingPropertiesAttribute.cs
- Expr.cs
- XmlReflectionMember.cs
- InlinedAggregationOperatorEnumerator.cs
- ParameterSubsegment.cs
- ExpandCollapseProviderWrapper.cs
- WindowsBrush.cs
- FilteredAttributeCollection.cs
- Model3D.cs
- Message.cs
- ModuleElement.cs
- SmtpReplyReaderFactory.cs
- XsltLibrary.cs
- LocatorPart.cs
- HMACSHA1.cs
- HuffmanTree.cs
- ButtonBaseAdapter.cs
- Point3DKeyFrameCollection.cs
- CryptoStream.cs
- TransactionFilter.cs
- SmiEventSink_DeferedProcessing.cs
- ToolStripDropTargetManager.cs
- XmlDocumentFieldSchema.cs
- DataGridViewSelectedCellCollection.cs
- PopupControlService.cs
- Int64AnimationUsingKeyFrames.cs
- DataMemberConverter.cs
- TextFragmentEngine.cs
- StreamInfo.cs
- WindowsIPAddress.cs
- nulltextnavigator.cs
- FastEncoder.cs
- PenLineCapValidation.cs
- StorageFunctionMapping.cs
- Int16Storage.cs
- HtmlWindowCollection.cs
- CompiledQueryCacheEntry.cs
- SafeThemeHandle.cs
- HostVisual.cs
- TaskCanceledException.cs