Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Ancestors « XML LINQ « C# / C Sharp
C# / C Sharp
XML LINQ
Ancestors
1.
An Example of Calling the First Ancestors Prototype
2.
Without Calling the Ancestors Operator
3.
A More Concise Example of Calling the First Ancestors Prototype
4.
Calling the Second Ancestors Prototype
5.
XElement.AncestorsAndSelf returns a collection of elements
6.
XElement.AncestorsAndSelf(XName) returns a filtered collection of elements that contain this element