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
- BindingMAnagerBase.cs
- ArrangedElement.cs
- LogStream.cs
- DSACryptoServiceProvider.cs
- XmlSerializationGeneratedCode.cs
- TrackingProfileManager.cs
- EntityDataSourceValidationException.cs
- NullExtension.cs
- AppSettingsExpressionBuilder.cs
- QueryCursorEventArgs.cs
- HttpHandler.cs
- EntityContainerEntitySetDefiningQuery.cs
- ContentType.cs
- JavaScriptSerializer.cs
- ContentElement.cs
- ColumnTypeConverter.cs
- EngineSite.cs
- PersonalizationEntry.cs
- EventWaitHandle.cs
- AmbientProperties.cs
- TypedOperationInfo.cs
- MbpInfo.cs
- WebResponse.cs
- Model3D.cs
- GlobalizationSection.cs
- VectorCollection.cs
- SQLMoneyStorage.cs
- ApplicationInterop.cs
- smtppermission.cs
- TraceListeners.cs
- SoundPlayer.cs
- querybuilder.cs
- MessageQueueAccessControlEntry.cs
- ArgumentsParser.cs
- EntityParameter.cs
- KeyGesture.cs
- XPathNode.cs
- RoutedCommand.cs
- GatewayDefinition.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ToolStripManager.cs
- ProfilePropertySettingsCollection.cs
- DataGridSortCommandEventArgs.cs
- MulticastOption.cs
- Fonts.cs
- DelegatingTypeDescriptionProvider.cs
- DataColumnMappingCollection.cs
- MimePart.cs
- PreProcessInputEventArgs.cs
- Interlocked.cs
- EmptyCollection.cs
- TraceData.cs
- Point3DCollectionValueSerializer.cs
- While.cs
- DataGridCaption.cs
- VisualStyleElement.cs
- DataSourceCacheDurationConverter.cs
- DataGridViewLayoutData.cs
- Empty.cs
- CreateParams.cs
- BaseConfigurationRecord.cs
- FullTrustAssembliesSection.cs
- QuotedPrintableStream.cs
- OleDbConnectionFactory.cs
- BindingList.cs
- wmiutil.cs
- Table.cs
- RowParagraph.cs
- HtmlButton.cs
- mediaclock.cs
- WithStatement.cs
- UniqueIdentifierService.cs
- EventLogPermissionAttribute.cs
- safex509handles.cs
- MachineKeySection.cs
- ExtensionWindowResizeGrip.cs
- DataControlFieldCell.cs
- DynamicPropertyReader.cs
- FixedElement.cs
- CodeMemberProperty.cs
- CqlBlock.cs
- KeySplineConverter.cs
- Timeline.cs
- TransportContext.cs
- XmlDownloadManager.cs
- TextRangeEditLists.cs
- ResourceReferenceKeyNotFoundException.cs
- EllipseGeometry.cs
- ObjectPersistData.cs
- DoubleAnimationUsingKeyFrames.cs
- ClientSettingsProvider.cs
- Int32CollectionConverter.cs
- ArrangedElement.cs
- DataGridViewRowCollection.cs
- WebPartCloseVerb.cs
- PackagePartCollection.cs
- EndpointAddress10.cs
- Geometry.cs
- storepermission.cs
- HttpDebugHandler.cs