You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/csharp/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,16 @@
1
1
---
2
2
title: "LINQ to XML for XPath Users (C#)"
3
-
ms.custom: ""
4
3
ms.date: "2015-07-20"
5
4
ms.prod: .net
6
-
ms.reviewer: ""
7
-
ms.suite: ""
8
5
ms.technology:
9
6
- "devlang-csharp"
10
-
11
7
ms.topic: "article"
12
8
dev_langs:
13
9
- "CSharp"
14
10
ms.assetid: 91774511-1dca-4f06-ac0b-913746f104fe
15
11
caps.latest.revision: 3
16
12
author: "BillWagner"
17
13
ms.author: "wiwagn"
18
-
19
14
---
20
15
# LINQ to XML for XPath Users (C#)
21
16
This set of topics show a number of XPath expressions and their [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] equivalents.
@@ -36,7 +31,7 @@ This set of topics show a number of XPath expressions and their [!INCLUDE[sqltec
36
31
|[How to: Find Elements in a Namespace (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-elements-in-a-namespace-xpath-linq-to-xml.md)|Compares the use of the XPath <xref:System.Xml.XmlNamespaceManager> class with the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)]<xref:System.Xml.Linq.XName.Namespace%2A> property of the <xref:System.Xml.Linq.XName> class for working with XML namespaces.<br /><br /> The associated XPath expression is:`"./aw:*"`|
37
32
|[How to: Find Preceding Siblings (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-preceding-siblings-xpath-linq-to-xml.md)|Compares the XPath `preceding-sibling` axis to the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] child <xref:System.Xml.Linq.XNode.ElementsBeforeSelf%2A?displayProperty=fullName> axis.<br /><br /> The associated XPath expression is:`"preceding-sibling::*"`|
38
33
|[How to: Find Descendants of a Child Element (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-descendants-of-a-child-element-xpath-linq-to-xml.md)|Compares how to get the descendant elements of a child element with a particular name with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"./Paragraph//Text/text()"`|
39
-
|[How to: Find a Union of Two Location Paths (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-a-union-of-two-location-paths-xpath-linq-to-xml.md)|Compares the use of the union operator, `|`, in XPath with the <xref:System.Linq.Enumerable.Concat%2A> standard query operator in [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"//Category|//Price"`|
34
+
|[How to: Find a Union of Two Location Paths (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-a-union-of-two-location-paths-xpath-linq-to-xml.md)|Compares the use of the union operator, <code>|</code>, in XPath with the <xref:System.Linq.Enumerable.Concat%2A> standard query operator in [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:<code>"//Category|//Price"</code>|
40
35
|[How to: Find Sibling Nodes (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-sibling-nodes-xpath-linq-to-xml.md)|Compares how to find all siblings of a node that have a specific name with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"../Book"`|
41
36
|[How to: Find an Attribute of the Parent (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-an-attribute-of-the-parent-xpath-linq-to-xml.md)|Compares how to navigate to the parent element and find an associated attribute using XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"../@id"`|
42
37
|[How to: Find Attributes of Siblings with a Specific Name (XPath-LINQ to XML) (C#)](../../../../csharp/programming-guide/concepts/linq/how-to-find-attributes-of-siblings-with-a-specific-name-xpath-linq-to-xml.md)|Compares how to find specific attributes of the siblings of the context node with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"``../Book/@id``"`|
Copy file name to clipboardExpand all lines: docs/framework/tools/ngen-exe-native-image-generator.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ ngen /? | /help
83
83
|`uninstall`[`assemblyName`|`assemblyPath`][`scenarios`][`config`]|Delete the native images of an assembly and its dependencies from the native image cache.<br /><br /> To uninstall a single image and its dependencies, use the same command-line arguments that were used to install the image. **Note:** Starting with the [!INCLUDE[net_v40_long](../../../includes/net-v40-long-md.md)], the action `uninstall` * is no longer supported.|
84
84
|`update`[`/queue`]|Update native images that have become invalid.<br /><br /> If `/queue` is specified, the updates are queued for the native image service. Updates are always scheduled at priority 3, so they run when the computer is idle.|
85
85
|`display`[`assemblyName`|`assemblyPath`]|Display the state of the native images for an assembly and its dependencies.<br /><br /> If no argument is supplied, everything in the native image cache is displayed.|
86
-
|`executeQueuedItems`[`1``|``2``|``3`]<br /><br /> -or-<br /><br /> `eqi`[1|2|3]|Execute queued compilation jobs.<br /><br /> If a priority is specified, compilation jobs with greater or equal priority are executed. If no priority is specified, all queued compilation jobs are executed.|
86
+
|`executeQueuedItems`[<code>1|2|3</code>]<br /><br /> -or-<br /><br /> `eqi`[1|2|3]|Execute queued compilation jobs.<br /><br /> If a priority is specified, compilation jobs with greater or equal priority are executed. If no priority is specified, all queued compilation jobs are executed.|
87
87
|`queue` {`pause`|`continue`|`status`}|Pause the native image service, allow the paused service to continue, or query the status of the service.|
|`/application:<`*ApplicationID*`|`*ApplicationName*`>`|Specifies the COM+ application to configure.<br /><br /> Short form `/a`.|
57
-
|`/contract:<`*ClassID*`|`*ProgID*`| *,`*InterfaceID*`|`*InterfaceName*`| *``>`|Specifies the COM+ component and interface that will be configured as the contract for the service.<br /><br /> Short form `/c`.<br /><br /> While the wildcard character (*) can be used when you specify the component and interface names, we recommend that you do not use it, because you might expose interfaces that you did not intend to.|
58
-
|`/hosting:<`*complus*`|`*was*`>`|Specifies whether to use the COM+ hosting mode or the Web hosting mode.<br /><br /> Short form `/h`.<br /><br /> Using the COM+ hosting mode requires explicit activation of the COM+ application. Using the Web hosting mode allows the COM+ application to be automatically activated as required. If the COM+ application is a library application, it runs in the Internet Information Services (IIS) process. If the COM+ application is a server application, it runs in the Dllhost.exe process.|
59
-
|`/webSite:<`*WebsiteName*`>`|Specifies the Web site for hosting when Web hosting mode is used (see the `/hosting` flag).<br /><br /> Short form `/w`.<br /><br /> If no Web site is specified, the default Web site is used.|
60
-
|`/webDirectory:<`*WebDirectoryName*`>`|Specifies the virtual directory for hosting when Web hosting is used (see the `/hosting` flag).<br /><br /> Short form `/d`.|
56
+
|`/application:`\<*ApplicationID*|*ApplicationName*\>|Specifies the COM+ application to configure.<br /><br /> Short form `/a`.|
57
+
|`/contract:`\<*ClassID*|*ProgID*|\*,*InterfaceID*|*InterfaceName*|\*\>|Specifies the COM+ component and interface that will be configured as the contract for the service.<br /><br /> Short form `/c`.<br /><br /> While the wildcard character (\*) can be used when you specify the component and interface names, we recommend that you do not use it, because you might expose interfaces that you did not intend to.|
58
+
|`/hosting:`\<*complus*|*was*\>|Specifies whether to use the COM+ hosting mode or the Web hosting mode.<br /><br /> Short form `/h`.<br /><br /> Using the COM+ hosting mode requires explicit activation of the COM+ application. Using the Web hosting mode allows the COM+ application to be automatically activated as required. If the COM+ application is a library application, it runs in the Internet Information Services (IIS) process. If the COM+ application is a server application, it runs in the Dllhost.exe process.|
59
+
|`/webSite:`\<*WebsiteName*\>|Specifies the Web site for hosting when Web hosting mode is used (see the `/hosting` flag).<br /><br /> Short form `/w`.<br /><br /> If no Web site is specified, the default Web site is used.|
60
+
|`/webDirectory:`\<*WebDirectoryName*\>|Specifies the virtual directory for hosting when Web hosting is used (see the `/hosting` flag).<br /><br /> Short form `/d`.|
61
61
|`/mex`|Adds a Metadata Exchange (MEX) service endpoint to the default service configuration to support clients that want to retrieve a contract definition from the service.<br /><br /> Short form `/x`.|
62
62
|`/id`|Displays the application, component, and interface information as IDs.<br /><br /> Short form `/k`.|
63
63
|`/nologo`|Prevents ComSvcConfig.exe from displaying its logo.<br /><br /> Short form `/n`.|
Copy file name to clipboardExpand all lines: docs/visual-basic/programming-guide/concepts/linq/linq-to-xml-for-xpath-users.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,19 @@
1
1
---
2
2
title: "LINQ to XML for XPath Users (Visual Basic)"
3
-
ms.custom: ""
4
3
ms.date: "2015-07-20"
5
4
ms.prod: .net
6
-
ms.reviewer: ""
7
-
ms.suite: ""
8
5
ms.technology:
9
6
- "devlang-visual-basic"
10
-
ms.tgt_pltfrm: ""
11
7
ms.topic: "article"
12
8
dev_langs:
13
9
- "VB"
14
10
ms.assetid: 0e64911c-a7cc-4c20-b927-ca99078b5656
15
11
caps.latest.revision: 3
16
12
author: dotnet-bot
17
13
ms.author: dotnetcontent
18
-
19
14
---
20
15
# LINQ to XML for XPath Users (Visual Basic)
16
+
21
17
This set of topics show a number of XPath expressions and their [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] equivalents.
22
18
23
19
All of the examples use the XPath functionality in [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] that is made available by the extension methods in <xref:System.Xml.XPath.Extensions?displayProperty=fullName>. The examples execute both the XPath expression and the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] expression. Each example then compares the results of both queries, validating that the XPath expression is functionally equivalent to the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] query. As both types of queries return nodes from the same XML tree, the query result comparison is made using referential identity.
@@ -36,7 +32,7 @@ This set of topics show a number of XPath expressions and their [!INCLUDE[sqltec
36
32
|[How to: Find Elements in a Namespace (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-elements-in-a-namespace.md)|Compares the use of the XPath <xref:System.Xml.XmlNamespaceManager> class with the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)]<xref:System.Xml.Linq.XName.Namespace%2A> property of the <xref:System.Xml.Linq.XName> class for working with XML namespaces.<br /><br /> The associated XPath expression is:`"./aw:*"`|
37
33
|[How to: Find Preceding Siblings (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-preceding-siblings-xpath-linq-to-xml.md)|Compares the XPath `preceding-sibling` axis to the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] child <xref:System.Xml.Linq.XNode.ElementsBeforeSelf%2A?displayProperty=fullName> axis.<br /><br /> The associated XPath expression is:`"preceding-sibling::*"`|
38
34
|[How to: Find Descendants of a Child Element (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-descendants-of-a-child-element-xpath-linq-to-xml.md)|Compares how to get the descendant elements of a child element with a particular name with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"./Paragraph//Text/text()"`|
39
-
|[How to: Find a Union of Two Location Paths (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-a-union-of-two-location-paths-xpath.md)|Compares the use of the union operator, `|`, in XPath with the <xref:System.Linq.Enumerable.Concat%2A> standard query operator in [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"//Category|//Price"`|
35
+
|[How to: Find a Union of Two Location Paths (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-a-union-of-two-location-paths-xpath.md)|Compares the use of the union operator, <code>|</code>, in XPath with the <xref:System.Linq.Enumerable.Concat%2A> standard query operator in [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:<code>"//Category|//Price"</code>|
40
36
|[How to: Find Sibling Nodes (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-sibling-nodes-xpath-linq-to-xml.md)|Compares how to find all siblings of a node that have a specific name with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"../Book"`|
41
37
|[How to: Find an Attribute of the Parent (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-an-attribute-of-the-parent-xpath-linq-to-xml.md)|Compares how to navigate to the parent element and find an associated attribute using XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"../@id"`|
42
38
|[How to: Find Attributes of Siblings with a Specific Name (XPath-LINQ to XML) (Visual Basic)](../../../../visual-basic/programming-guide/concepts/linq/how-to-find-attributes-of-siblings-with-a-specific-name.md)|Compares how to find specific attributes of the siblings of the context node with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)].<br /><br /> The associated XPath expression is:`"``../Book/@id``"`|
0 commit comments