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
- DrawingVisualDrawingContext.cs
- PrintPreviewDialog.cs
- ConnectionStringSettingsCollection.cs
- MembershipPasswordException.cs
- Pen.cs
- SystemEvents.cs
- CodeSubDirectoriesCollection.cs
- HideDisabledControlAdapter.cs
- ObjectQueryState.cs
- RegisteredArrayDeclaration.cs
- RecommendedAsConfigurableAttribute.cs
- ListDesigner.cs
- Transform3DCollection.cs
- QueryTask.cs
- X509Extension.cs
- BinaryParser.cs
- ZipQueryOperator.cs
- CriticalExceptions.cs
- GenericTextProperties.cs
- httpapplicationstate.cs
- SafeCryptoHandles.cs
- IdnElement.cs
- WorkflowMarkupSerializerMapping.cs
- HierarchicalDataTemplate.cs
- XamlTreeBuilder.cs
- BitmapEffectDrawingContent.cs
- UpdatePanelControlTrigger.cs
- OrthographicCamera.cs
- LinkLabelLinkClickedEvent.cs
- CompiledXpathExpr.cs
- GcHandle.cs
- Point3DKeyFrameCollection.cs
- ExceptionUtil.cs
- ColumnMapCopier.cs
- EntityDataSourceMemberPath.cs
- DataControlButton.cs
- ExpressionConverter.cs
- ContextStaticAttribute.cs
- IndentedWriter.cs
- HtmlInputCheckBox.cs
- WebPartEventArgs.cs
- QueryInterceptorAttribute.cs
- TreeBuilderBamlTranslator.cs
- SizeValueSerializer.cs
- UIHelper.cs
- InteropBitmapSource.cs
- Highlights.cs
- SelectionItemProviderWrapper.cs
- ExceptionValidationRule.cs
- DetailsViewDeletedEventArgs.cs
- RoleServiceManager.cs
- BindableAttribute.cs
- FileNotFoundException.cs
- MenuItemStyle.cs
- SerializerWriterEventHandlers.cs
- UriSection.cs
- BindingExpressionBase.cs
- CodeChecksumPragma.cs
- ObjectStateEntry.cs
- PropertyRecord.cs
- DataGridCheckBoxColumn.cs
- WpfSharedBamlSchemaContext.cs
- FontStyleConverter.cs
- TemplatePagerField.cs
- RuntimeConfigurationRecord.cs
- CorrelationTokenTypeConvertor.cs
- DrawingBrush.cs
- MergeFilterQuery.cs
- Root.cs
- WeakHashtable.cs
- ExtendedProperty.cs
- DirectoryNotFoundException.cs
- SByteConverter.cs
- Rfc2898DeriveBytes.cs
- SecurityException.cs
- HitTestWithPointDrawingContextWalker.cs
- DataSourceHelper.cs
- InstanceCreationEditor.cs
- StaticFileHandler.cs
- ListViewCommandEventArgs.cs
- ReservationCollection.cs
- ScrollViewer.cs
- _ListenerResponseStream.cs
- ComponentResourceKey.cs
- FixedTextContainer.cs
- Duration.cs
- RuntimeWrappedException.cs
- SkinIDTypeConverter.cs
- XmlQualifiedName.cs
- StylusPoint.cs
- MatrixCamera.cs
- SetStoryboardSpeedRatio.cs
- ScopelessEnumAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- NextPreviousPagerField.cs
- Native.cs
- GifBitmapEncoder.cs
- DownloadProgressEventArgs.cs
- ZoneMembershipCondition.cs
- __Error.cs