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
- RenamedEventArgs.cs
- XmlILOptimizerVisitor.cs
- DataRow.cs
- WorkflowTransactionOptions.cs
- AppDomainUnloadedException.cs
- CaseInsensitiveHashCodeProvider.cs
- SoapSchemaExporter.cs
- VisualStyleInformation.cs
- SizeConverter.cs
- DbInsertCommandTree.cs
- _KerberosClient.cs
- smtppermission.cs
- DataGridViewRowEventArgs.cs
- AmbientValueAttribute.cs
- ExpressionDumper.cs
- GeneralTransform.cs
- CalendarItem.cs
- SqlTrackingWorkflowInstance.cs
- XPathException.cs
- PersonalizationStateInfoCollection.cs
- AncestorChangedEventArgs.cs
- Convert.cs
- FixedSOMTableCell.cs
- FontFamily.cs
- HttpModule.cs
- AttributeData.cs
- PaintEvent.cs
- ThreadSafeMessageFilterTable.cs
- AnimationClockResource.cs
- ExtensionsSection.cs
- MultiAsyncResult.cs
- bidPrivateBase.cs
- DictionaryChange.cs
- PageCatalogPart.cs
- ActivityWithResult.cs
- IssuedTokenClientBehaviorsElement.cs
- BindingContext.cs
- ObjectDataSourceStatusEventArgs.cs
- NameSpaceExtractor.cs
- RowType.cs
- SystemInformation.cs
- TextEditorThreadLocalStore.cs
- XmlCollation.cs
- JournalEntryListConverter.cs
- Enlistment.cs
- RequestResponse.cs
- WebEventTraceProvider.cs
- securitymgrsite.cs
- ObjectFullSpanRewriter.cs
- MemoryStream.cs
- GcHandle.cs
- AttributeEmitter.cs
- CompilerCollection.cs
- WebPartConnectionsCancelEventArgs.cs
- StringDictionary.cs
- VirtualizingStackPanel.cs
- TemplateControlCodeDomTreeGenerator.cs
- __TransparentProxy.cs
- X509AsymmetricSecurityKey.cs
- RuleRefElement.cs
- StringValidatorAttribute.cs
- dbenumerator.cs
- RawAppCommandInputReport.cs
- ContextActivityUtils.cs
- TriggerBase.cs
- TransportElement.cs
- CompilerResults.cs
- Shape.cs
- Parser.cs
- CachedPathData.cs
- SharedDp.cs
- DescendentsWalker.cs
- DocumentViewer.cs
- EncodingDataItem.cs
- BooleanFunctions.cs
- OrderByQueryOptionExpression.cs
- EdmToObjectNamespaceMap.cs
- SimpleLine.cs
- ProviderConnectionPoint.cs
- FormDesigner.cs
- Pkcs9Attribute.cs
- Certificate.cs
- EntityDataSourceColumn.cs
- AutoCompleteStringCollection.cs
- KeyValueConfigurationElement.cs
- TypeDescriptor.cs
- MailSettingsSection.cs
- BamlBinaryReader.cs
- TextEditorMouse.cs
- ReplyChannel.cs
- InvokeMethod.cs
- StatusBarAutomationPeer.cs
- LiteralControl.cs
- BinaryFormatter.cs
- PageFunction.cs
- WebBrowserContainer.cs
- SerialPinChanges.cs
- FilterException.cs
- AdjustableArrowCap.cs
- ProjectionPlan.cs