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
- CaseExpr.cs
- PrivilegeNotHeldException.cs
- DockPanel.cs
- NetCodeGroup.cs
- SHA1.cs
- FilterFactory.cs
- DbConnectionPoolIdentity.cs
- FeatureManager.cs
- TextEditorThreadLocalStore.cs
- QuaternionAnimation.cs
- IdentityValidationException.cs
- DesignerLinkAdapter.cs
- ComplexTypeEmitter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DataGridColumn.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebPartManagerInternals.cs
- PeerApplication.cs
- FrameworkRichTextComposition.cs
- MonthChangedEventArgs.cs
- ToggleButtonAutomationPeer.cs
- BamlResourceContent.cs
- MbpInfo.cs
- NonParentingControl.cs
- WindowsListViewSubItem.cs
- MailMessage.cs
- JsonQueryStringConverter.cs
- FieldNameLookup.cs
- HyperLinkField.cs
- OdbcError.cs
- PenContexts.cs
- DeploymentExceptionMapper.cs
- SqlReferenceCollection.cs
- DataServicePagingProviderWrapper.cs
- MemoryStream.cs
- TreeNodeMouseHoverEvent.cs
- AuthenticationService.cs
- DropDownButton.cs
- UpdatePanelControlTrigger.cs
- Subtree.cs
- QueueProcessor.cs
- DataColumn.cs
- ValidationErrorInfo.cs
- ListViewUpdatedEventArgs.cs
- HwndAppCommandInputProvider.cs
- CompositeFontFamily.cs
- ControlBindingsCollection.cs
- Rfc4050KeyFormatter.cs
- XmlSchemaObjectCollection.cs
- ToolStripSeparator.cs
- ToolstripProfessionalRenderer.cs
- Helpers.cs
- ADRoleFactoryConfiguration.cs
- DispatcherFrame.cs
- SqlCacheDependency.cs
- DelayedRegex.cs
- MessageOperationFormatter.cs
- WebEvents.cs
- ObfuscateAssemblyAttribute.cs
- GiveFeedbackEvent.cs
- InternalCache.cs
- TextRunProperties.cs
- Constraint.cs
- SQLConvert.cs
- DigestTraceRecordHelper.cs
- RangeValueProviderWrapper.cs
- ServiceElement.cs
- GlyphTypeface.cs
- RtfToken.cs
- CreateUserWizardStep.cs
- SerialErrors.cs
- x509store.cs
- CellParagraph.cs
- DictionarySectionHandler.cs
- EntityClassGenerator.cs
- SettingsProperty.cs
- SQLBinaryStorage.cs
- XmlSerializerFaultFormatter.cs
- InheritanceContextHelper.cs
- BulletedList.cs
- DtrList.cs
- UnsafeCollabNativeMethods.cs
- FixedElement.cs
- DBCSCodePageEncoding.cs
- path.cs
- ModifiableIteratorCollection.cs
- QueryContinueDragEvent.cs
- StoryFragments.cs
- EntityType.cs
- RegexEditorDialog.cs
- ConfigurationSectionCollection.cs
- ObjectComplexPropertyMapping.cs
- MenuAdapter.cs
- ExpressionsCollectionEditor.cs
- RenderCapability.cs
- PropertyPathConverter.cs
- glyphs.cs
- NameTable.cs
- ExtensionFile.cs
- BuildProviderCollection.cs