From 57abaf40c865738cd644008becfe25445fd2eb0e Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 14 Dec 2019 20:45:33 +0200 Subject: [PATCH 1/2] Follow style guide --- .../linq/how-to-find-the-root-element-xpath-linq-to-xml.md | 4 ++-- .../how-to-find-the-set-difference-between-two-lists-linq.md | 4 ++-- .../concepts/linq/how-to-generate-text-files-from-xml.md | 4 ++-- .../concepts/linq/how-to-generate-xml-from-csv-files.md | 4 ++-- .../concepts/linq/how-to-group-files-by-extension-linq.md | 4 ++-- .../linq/how-to-join-content-from-dissimilar-files-linq.md | 4 ++-- .../concepts/linq/how-to-join-two-collections-linq-to-xml.md | 4 ++-- .../concepts/linq/how-to-list-all-nodes-in-a-tree.md | 4 ++-- .../concepts/linq/how-to-load-xml-from-a-file.md | 4 ++-- .../linq/how-to-modify-an-office-open-xml-document.md | 4 ++-- .../programming-guide/concepts/linq/how-to-parse-a-string.md | 4 ++-- ...w-to-perform-streaming-transform-of-large-xml-documents.md | 4 ++-- ...how-to-perform-streaming-transformations-of-text-to-xml.md | 4 ++-- .../linq/how-to-populate-an-xml-tree-from-the-file-system.md | 4 ++-- ...w-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md | 4 ++-- ...-populate-object-collections-from-multiple-sources-linq.md | 4 ++-- .../concepts/linq/how-to-project-a-new-type-linq-to-xml.md | 4 ++-- .../concepts/linq/how-to-project-an-anonymous-type.md | 4 ++-- .../concepts/linq/how-to-project-an-object-graph.md | 4 ++-- .../concepts/linq/how-to-query-an-arraylist-with-linq.md | 4 ++-- ...ow-to-query-an-assembly-s-metadata-with-reflection-linq.md | 4 ++-- .../linq/how-to-query-for-characters-in-a-string-linq.md | 4 ++-- ...w-to-query-for-duplicate-files-in-a-directory-tree-linq.md | 4 ++-- ...w-to-query-for-files-with-a-specified-attribute-or-name.md | 4 ++-- ...or-sentences-that-contain-a-specified-set-of-words-linq.md | 4 ++-- ...-for-the-largest-file-or-files-in-a-directory-tree-linq.md | 4 ++-- ...-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md | 4 ++-- .../concepts/linq/how-to-query-linq-to-xml-using-xpath.md | 4 ++-- .../how-to-query-the-contents-of-files-in-a-folder-lin.md | 4 ++-- .../linq/how-to-read-and-write-an-encoded-document.md | 4 ++-- .../how-to-reorder-the-fields-of-a-delimited-file-linq.md | 4 ++-- .../how-to-retrieve-a-collection-of-attributes-linq-to-xml.md | 4 ++-- .../how-to-retrieve-a-collection-of-elements-linq-to-xml.md | 4 ++-- .../linq/how-to-retrieve-a-single-attribute-linq-to-xml.md | 4 ++-- .../how-to-retrieve-a-single-child-element-linq-to-xml.md | 4 ++-- ...to-retrieve-paragraphs-from-an-office-open-xml-document.md | 4 ++-- .../linq/how-to-retrieve-the-shallow-value-of-an-element.md | 4 ++-- .../how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md | 4 ++-- .../how-to-retrieve-the-value-of-an-element-linq-to-xml.md | 4 ++-- .../linq/how-to-serialize-using-datacontractserializer.md | 4 ++-- .../concepts/linq/how-to-serialize-using-xmlserializer.md | 4 ++-- .../concepts/linq/how-to-sort-elements-on-multiple-keys.md | 4 ++-- 42 files changed, 84 insertions(+), 84 deletions(-) diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-find-the-root-element-xpath-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-find-the-root-element-xpath-linq-to-xml.md index b353d3a9b0ab8..7b39cb4da010f 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-find-the-root-element-xpath-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-find-the-root-element-xpath-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Find the Root Element (XPath-LINQ to XML) (C#)" +title: "How to find the root element (XPath-LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 4fd824e0-4d39-429b-b092-f6a5c046ee6c --- -# How to: Find the Root Element (XPath-LINQ to XML) (C#) +# How to find the root element (XPath-LINQ to XML) (C#) This topic shows how to get the root element with XPath and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)]. The XPath expression is: diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-find-the-set-difference-between-two-lists-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-find-the-set-difference-between-two-lists-linq.md index e01714d064519..b3057facfda2d 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-find-the-set-difference-between-two-lists-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-find-the-set-difference-between-two-lists-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Find the Set Difference Between Two Lists (LINQ) (C#)" +title: "How to find the set difference between two lists (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 8e8945f0-4aba-439d-8d5d-c8d1eeef4e71 --- -# How to: Find the Set Difference Between Two Lists (LINQ) (C#) +# How to find the set difference between two lists (LINQ) (C#) This example shows how to use LINQ to compare two lists of strings and output those lines that are in names1.txt but not in names2.txt. ### To create the data files diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-generate-text-files-from-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-generate-text-files-from-xml.md index ce030b2011bc3..b650cf1ee4aff 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-generate-text-files-from-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-generate-text-files-from-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Generate Text Files from XML (C#)" +title: "How to generate text files from XML (C#)" ms.date: 07/20/2015 ms.assetid: 9ad283f7-7cac-42ff-bf32-92aa866e6883 --- -# How to: Generate Text Files from XML (C#) +# How to generate text files from XML (C#) This example shows how to generate a comma-separated values (CSV) file from an XML file. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-generate-xml-from-csv-files.md b/docs/csharp/programming-guide/concepts/linq/how-to-generate-xml-from-csv-files.md index 82cc711a20e1f..c5b57a3d7464f 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-generate-xml-from-csv-files.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-generate-xml-from-csv-files.md @@ -1,9 +1,9 @@ --- -title: "How to: Generate XML from CSV Files (C#)" +title: "How to generate XML from CSV files (C#)" ms.date: 07/20/2015 ms.assetid: 57b9ccde-f983-4a21-ae61-70ecede30307 --- -# How to: Generate XML from CSV Files (C#) +# How to generate XML from CSV files (C#) This example shows how to use [!INCLUDE[vbteclinqext](~/includes/vbteclinqext-md.md)] and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] to generate an XML file from a comma-separated value (CSV) file. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-group-files-by-extension-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-group-files-by-extension-linq.md index e2ed40b2df5d8..32714f539350c 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-group-files-by-extension-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-group-files-by-extension-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Group Files by Extension (LINQ) (C#)" +title: "How to group files by extension (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 21a98320-a5a1-4981-82d8-6a637e7d9018 --- -# How to: Group Files by Extension (LINQ) (C#) +# How to group files by extension (LINQ) (C#) This example shows how LINQ can be used to perform advanced grouping and sorting operations on lists of files or folders. It also shows how to page output in the console window by using the and methods. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md index 03e85246f3398..3bf1eeeea2471 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Join Content from Dissimilar Files (LINQ) (C#)" +title: "How to join content from dissimilar files (LINQ) (C#)" ms.date: 06/27/2018 ms.assetid: aa2d12a6-70a9-492f-a6db-b2b850d46811 --- -# How to: Join Content from Dissimilar Files (LINQ) (C#) +# How to join content from dissimilar files (LINQ) (C#) This example shows how to join data from two comma-delimited files that share a common value that is used as a matching key. This technique can be useful if you have to combine data from two spreadsheets, or from a spreadsheet and from a file that has another format, into a new file. You can modify the example to work with any kind of structured text. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml.md index 39ea7bde640d8..c0c65d4ed5298 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Join Two Collections (LINQ to XML) (C#)" +title: "How to join two collections (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 7b817ede-911a-4cff-9dd3-639c3fc228c9 --- -# How to: Join Two Collections (LINQ to XML) (C#) +# How to join two collections (LINQ to XML) (C#) An element or attribute in an XML document can sometimes refer to another element or attribute. For example, the [Sample XML File: Customers and Orders (LINQ to XML)](./sample-xml-file-customers-and-orders-linq-to-xml-2.md) XML document contains a list of customers and a list of orders. Each `Customer` element contains a `CustomerID` attribute. Each `Order` element contains a `CustomerID` element. The `CustomerID` element in each order refers to the `CustomerID` attribute in a customer. The topic [Sample XSD File: Customers and Orders](./sample-xsd-file-customers-and-orders1.md) contains an XSD that can be used to validate this document. It uses the `xs:key` and `xs:keyref` features of XSD to establish that the `CustomerID` attribute of the `Customer` element is a key, and to establish a relationship between the `CustomerID` element in each `Order` element and the `CustomerID` attribute in each `Customer` element. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-list-all-nodes-in-a-tree.md b/docs/csharp/programming-guide/concepts/linq/how-to-list-all-nodes-in-a-tree.md index 073b989d6a9b0..bdd3b95af432b 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-list-all-nodes-in-a-tree.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-list-all-nodes-in-a-tree.md @@ -1,9 +1,9 @@ --- -title: "How to: List All Nodes in a Tree (C#)" +title: "How to list all nodes in a tree (C#)" ms.date: 07/20/2015 ms.assetid: 3e934371-f4c6-458b-9f6b-f9061b596f5b --- -# How to: List All Nodes in a Tree (C#) +# How to list all nodes in a tree (C#) Sometimes it is helpful to list all nodes in a tree. This can be useful when learning exactly how a method or property affects the tree. One approach to listing all nodes in a textual form is to generate an XPath expression that exactly and specifically identifies any node in the tree. It is not particularly helpful to execute XPath expressions using [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)]. XPath expressions have poorer performance than [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] queries, and [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] queries are much more powerful. However, as a way to identify nodes in the XML tree, XPath works well. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-load-xml-from-a-file.md b/docs/csharp/programming-guide/concepts/linq/how-to-load-xml-from-a-file.md index 662f2b150376b..d4641e6d992e6 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-load-xml-from-a-file.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-load-xml-from-a-file.md @@ -1,9 +1,9 @@ --- -title: "How to: Load XML from a File (C#)" +title: "How to load XML from a file (C#)" ms.date: 07/20/2015 ms.assetid: 3ed38487-8028-4209-9872-c8dce0ed4dfe --- -# How to: Load XML from a File (C#) +# How to load XML from a file (C#) This topic shows how to load XML from a URI by using the method. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-modify-an-office-open-xml-document.md b/docs/csharp/programming-guide/concepts/linq/how-to-modify-an-office-open-xml-document.md index 03757b3029f85..96d573c94cbad 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-modify-an-office-open-xml-document.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-modify-an-office-open-xml-document.md @@ -1,9 +1,9 @@ --- -title: "How to: Modify an Office Open XML Document (C#)" +title: "How to modify an Office Open XML document (C#)" ms.date: 07/20/2015 ms.assetid: 467d489c-2b1b-453b-a757-8ac180e82a96 --- -# How to: Modify an Office Open XML Document (C#) +# How to modify an Office Open XML document (C#) This topic presents an example that opens an Office Open XML document, modifies it, and saves it. For more information on Office Open XML, see [Open XML SDK](https://github.com/OfficeDev/Open-XML-SDK) and [www.ericwhite.com](http://ericwhite.com/). diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-parse-a-string.md b/docs/csharp/programming-guide/concepts/linq/how-to-parse-a-string.md index ad80d12a0c513..1098930054625 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-parse-a-string.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-parse-a-string.md @@ -1,9 +1,9 @@ --- -title: "How to: Parse a String (C#)" +title: "How to parse a string (C#)" ms.date: 07/20/2015 ms.assetid: 81e5686c-9658-42d8-a7e3-b11be0a2c98b --- -# How to: Parse a String (C#) +# How to parse a string (C#) This topic shows how to parse a string to create an XML tree in C#. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transform-of-large-xml-documents.md b/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transform-of-large-xml-documents.md index f5dfb887b3f52..4d8dd01fdeb2e 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transform-of-large-xml-documents.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transform-of-large-xml-documents.md @@ -1,9 +1,9 @@ --- -title: "How to: Perform Streaming Transform of Large XML Documents (C#)" +title: "How to perform streaming transform of large XML documents (C#)" ms.date: 07/20/2015 ms.assetid: 5f16d1f8-5370-4b55-b0c8-e497df163037 --- -# How to: Perform Streaming Transform of Large XML Documents (C#) +# How to perform streaming transform of large XML documents (C#) Sometimes you have to transform large XML files, and write your application so that the memory footprint of the application is predictable. If you try to populate an XML tree with a very large XML file, your memory usage will be proportional to the size of the file (that is, excessive). Therefore, you should use a streaming technique instead. Streaming techniques are best applied in situations where you need to process the source document only once, and you can process the elements in document order. Certain standard query operators, such as , iterate their source, collect all of the data, sort it, and then finally yield the first item in the sequence. Note that if you use a query operator that materializes its source before yielding the first item, you will not retain a small memory footprint for your application. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transformations-of-text-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transformations-of-text-to-xml.md index 1346438085867..06d2ef81cff0d 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transformations-of-text-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-perform-streaming-transformations-of-text-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Perform Streaming Transformations of Text to XML (C#)" +title: "How to perform streaming transformations of text to XML (C#)" ms.date: 07/20/2015 ms.assetid: 9b3bd941-d0ff-4f2d-ae41-7c3b81d8fae6 --- -# How to: Perform Streaming Transformations of Text to XML (C#) +# How to perform streaming transformations of text to XML (C#) One approach to processing a text file is to write an extension method that streams the text file a line at a time using the `yield return` construct. You then can write a LINQ query that processes the text file in a lazy deferred fashion. If you then use to stream output, you then can create a transformation from the text file to XML that uses a minimal amount of memory, regardless of the size of the source text file. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-from-the-file-system.md b/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-from-the-file-system.md index 882067203c7d5..32c358dfab859 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-from-the-file-system.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-from-the-file-system.md @@ -1,9 +1,9 @@ --- -title: "How to: Populate an XML Tree from the File System (C#)" +title: "How to populate an XML tree from the file system (C#)" ms.date: 07/20/2015 ms.assetid: 2aa2ccac-4a22-47ae-9107-3bb8df232576 --- -# How to: Populate an XML Tree from the File System (C#) +# How to populate an XML tree from the file system (C#) A common and useful application of XML trees is as a hierarchical name/value data store. You can populate an XML tree with hierarchical data, and then query it, transform it, and if necessary, serialize it. In this usage scenario, many of the XML specific semantics, such as namespaces and white space behavior, are not important. Instead, you are using the XML tree as a small, in memory, single user hierarchical database. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md index 0b5ac36c5534e..7e5a2b0b65956 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Populate an XML Tree with an XmlWriter (LINQ to XML) (C#)" +title: "How to populate an XML tree with an XmlWriter (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: cd5674d1-5c54-4efc-ba68-e23b2875295f --- -# How to: Populate an XML Tree with an XmlWriter (LINQ to XML) (C#) +# How to populate an XML tree with an XmlWriter (LINQ to XML) (C#) One way to populate an XML tree is to use to create an , and then write to the . The XML tree is populated with all nodes that are written to the . You would typically use this method when you use [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] with another class that expects to write to an , such as . diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md index 466daef36aa6d..4f821637af1ec 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Populate Object Collections from Multiple Sources (LINQ) (C#)" +title: "How to populate object collections from multiple sources (LINQ) (C#)" ms.date: 06/12/2018 ms.assetid: 8ad7d480-b46c-4ccc-8c57-76f2d04ccc6d --- -# How to: Populate Object Collections from Multiple Sources (LINQ) (C#) +# How to populate object collections from multiple sources (LINQ) (C#) This example shows how to merge data from different sources into a sequence of new types. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md index d11a0785c1635..4b0a635e8a42e 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Project a New Type (LINQ to XML) (C#)" +title: "How to project a new type (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 48145cf9-1e0b-4e73-bbfd-28fc04800dc4 --- -# How to: Project a New Type (LINQ to XML) (C#) +# How to project a new type (LINQ to XML) (C#) Other examples in this section have shown queries that return results as of , of `string`, and of `int`. These are common result types, but they are not appropriate for every scenario. In many cases you will want your queries to return an of some other type. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-project-an-anonymous-type.md b/docs/csharp/programming-guide/concepts/linq/how-to-project-an-anonymous-type.md index a5c3ed77a5c9e..d737c3259570b 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-project-an-anonymous-type.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-project-an-anonymous-type.md @@ -1,9 +1,9 @@ --- -title: "How to: Project an Anonymous Type (C#)" +title: "How to project an anonymous type (C#)" ms.date: 07/20/2015 ms.assetid: 5cb9be13-5ac4-4373-a034-b3520a5b2dec --- -# How to: Project an Anonymous Type (C#) +# How to project an anonymous type (C#) In some cases you might want to project a query to a new type, even though you know you will only use this type for a short while. It is a lot of extra work to create a new type just to use in the projection. A more efficient approach in this case is to project to an anonymous type. Anonymous types allow you to define a class, then declare and initialize an object of that class, without giving the class a name. Anonymous types are the C# implementation of the mathematical concept of a *tuple*. The mathematical term tuple originated from the sequence single, double, triple, quadruple, quintuple, n-tuple. It refers to a finite sequence of objects, each of a specific type. Sometimes this is called a list of name/value pairs. For example, the contents of an address in the [Sample XML File: Typical Purchase Order (LINQ to XML)](./sample-xml-file-typical-purchase-order-linq-to-xml-1.md) XML document could be expressed as follows: diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-project-an-object-graph.md b/docs/csharp/programming-guide/concepts/linq/how-to-project-an-object-graph.md index 4f71bf5c79470..4a5d6ac7fa0e4 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-project-an-object-graph.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-project-an-object-graph.md @@ -1,9 +1,9 @@ --- -title: "How to: Project an Object Graph (C#)" +title: "How to project an object graph (C#)" ms.date: 07/20/2015 ms.assetid: 293d15d5-3eaf-48de-9a02-3e13cb117b5b --- -# How to: Project an Object Graph (C#) +# How to project an object graph (C#) This topic illustrates how to project, or populate, an object graph from XML. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md index 6c86eba365c73..1a994f5557fed 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query an ArrayList with LINQ (C#)" +title: "How to query an ArrayList with LINQ (C#)" ms.date: 07/20/2015 ms.assetid: 2bfb471c-6e9a-4e60-bd83-4a1778abde11 --- -# How to: Query an ArrayList with LINQ (C#) +# How to query an ArrayList with LINQ (C#) When using LINQ to query non-generic collections such as , you must explicitly declare the type of the range variable to reflect the specific type of the objects in the collection. For example, if you have an of `Student` objects, your [from clause](../../../language-reference/keywords/from-clause.md) should look like this: ```csharp diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-an-assembly-s-metadata-with-reflection-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-an-assembly-s-metadata-with-reflection-linq.md index 1b9103e91c754..4af28d37d239a 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-an-assembly-s-metadata-with-reflection-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-an-assembly-s-metadata-with-reflection-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query An Assembly's Metadata with Reflection (LINQ) (C#)" +title: "How to query an assembly's metadata with Reflection (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: c4cdce49-b1c8-4420-b12a-9ff7e6671368 --- -# How to: Query An Assembly's Metadata with Reflection (LINQ) (C#) +# How to query an assembly's metadata with Reflection (LINQ) (C#) The .NET Framework class library reflection APIs can be used to examine the metadata in a .NET assembly and create collections of types, type members, parameters, and so on that are in that assembly. Because these collections support the generic interface, they can be queried by using LINQ. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-characters-in-a-string-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-characters-in-a-string-linq.md index daa6533a2ea96..075e49757335e 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-characters-in-a-string-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-characters-in-a-string-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for Characters in a String (LINQ) (C#)" +title: "How to query for characters in a string (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 727a1be7-dbec-4ab8-b414-bc2d56feb6ff --- -# How to: Query for Characters in a String (LINQ) (C#) +# How to query for characters in a string (LINQ) (C#) Because the class implements the generic interface, any string can be queried as a sequence of characters. However, this is not a common use of LINQ. For complex pattern matching operations, use the class. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md index 377b56d9dccc7..e910044afeeea 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for Duplicate Files in a Directory Tree (LINQ) (C#)" +title: "How to query for duplicate files in a directory tree (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 1ff5562b-0d30-46d1-b426-a04e8f78c840 --- -# How to: Query for Duplicate Files in a Directory Tree (LINQ) (C#) +# How to query for duplicate files in a directory tree (LINQ) (C#) Sometimes files that have the same name may be located in more than one folder. For example, under the Visual Studio installation folder, several folders have a readme.htm file. This example shows how to query for such duplicate file names under a specified root folder. The second example shows how to query for files whose size and LastWrite times also match. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-files-with-a-specified-attribute-or-name.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-files-with-a-specified-attribute-or-name.md index 6c1e493cb61fa..a194e074a5065 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-files-with-a-specified-attribute-or-name.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-files-with-a-specified-attribute-or-name.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for Files with a Specified Attribute or Name (C#)" +title: "How to query for files with a specified attribute or name (C#)" ms.date: 07/20/2015 ms.assetid: 560e3879-b0b3-4549-ad02-0a53aff2f83c --- -# How to: Query for Files with a Specified Attribute or Name (C#) +# How to query for files with a specified attribute or name (C#) This example shows how to find all files that have a specified file name extension (for example ".txt") in a specified directory tree. It also shows how to return either the newest or oldest file in the tree based on the creation time. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md index 415a4abc9b2f0..685fa49ac6dc1 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for Sentences that Contain a Specified Set of Words (LINQ) (C#)" +title: "How to query for sentences that contain a specified set of words (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 0724b429-4b87-4d26-a7b1-409358f3fc20 --- -# How to: Query for Sentences that Contain a Specified Set of Words (LINQ) (C#) +# How to query for sentences that contain a specified set of words (LINQ) (C#) This example shows how to find sentences in a text file that contain matches for each of a specified set of words. Although the array of search terms is hard-coded in this example, it could also be populated dynamically at runtime. In this example, the query returns the sentences that contain the words "Historically," "data," and "integrated." ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md index 713e4afb21cca..ceb28b40f1c09 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for the Largest File or Files in a Directory Tree (LINQ) (C#)" +title: "How to query for the largest file or files in a directory tree (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 20c8a917-0552-4514-b489-0b8b6a4c3b4c --- -# How to: Query for the Largest File or Files in a Directory Tree (LINQ) (C#) +# How to query for the largest file or files in a directory tree (LINQ) (C#) This example shows five queries related to file size in bytes: - How to retrieve the size in bytes of the largest file. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md index 870f4b44996e6..b81f21352c71d 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Query for the Total Number of Bytes in a Set of Folders (LINQ) (C#)" +title: "How to query for the total Number of bytes in a set of folders (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: a01bd1d4-133c-4ca2-aa4e-e93e81d6076c --- -# How to: Query for the Total Number of Bytes in a Set of Folders (LINQ) (C#) +# How to query for the total number of bytes in a set of folders (LINQ) (C#) This example shows how to retrieve the total number of bytes used by all the files in a specified folder and all its subfolders. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-linq-to-xml-using-xpath.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-linq-to-xml-using-xpath.md index cf365f323f9e4..9b148d79fcfe8 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-linq-to-xml-using-xpath.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-linq-to-xml-using-xpath.md @@ -1,9 +1,9 @@ --- -title: "How to: Query LINQ to XML Using XPath (C#)" +title: "How to query LINQ to XML using XPath (C#)" ms.date: 07/20/2015 ms.assetid: ee5af263-4ab1-45e5-b792-33a3221b426d --- -# How to: Query LINQ to XML Using XPath (C#) +# How to query LINQ to XML using XPath (C#) This topic introduces the extension methods that enable you to query an XML tree by using XPath. For detailed information about using these extension methods, see . Unless you have a very specific reason for querying using XPath, such as extensive use of legacy code, using XPath with LINQ to XML is not recommended. XPath queries will not perform as well as [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] queries. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin.md b/docs/csharp/programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin.md index 1d55ea80b39cb..ab9894d1d77a4 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin.md @@ -1,9 +1,9 @@ --- -title: "How to: Query the Contents of Text Files in a Folder (LINQ) (C#)" +title: "How to query the contents of text files in a folder (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: f5b4dce7-1a34-4eb4-9bf1-60d5bdda264c --- -# How to: Query the Contents of Text Files in a Folder (LINQ) (C#) +# How to query the contents of text files in a folder (LINQ) (C#) This example shows how to query over all the files in a specified directory tree, open each file, and inspect its contents. This type of technique could be used to create indexes or reverse indexes of the contents of a directory tree. A simple string search is performed in this example. However, more complex types of pattern matching can be performed with a regular expression. For more information, see [How to combine LINQ queries with regular expressions (C#)](./how-to-combine-linq-queries-with-regular-expressions.md). ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-read-and-write-an-encoded-document.md b/docs/csharp/programming-guide/concepts/linq/how-to-read-and-write-an-encoded-document.md index bf7fe7146ce94..26c4635af65f4 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-read-and-write-an-encoded-document.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-read-and-write-an-encoded-document.md @@ -1,9 +1,9 @@ --- -title: "How to: Read and Write an Encoded Document (C#)" +title: "How to read and write an encoded document (C#)" ms.date: 07/20/2015 ms.assetid: 84f64e71-39a6-42c6-ad68-f052bb158a03 --- -# How to: Read and Write an Encoded Document (C#) +# How to read and write an encoded document (C#) To create an encoded XML document, you add an to the XML tree, setting the encoding to the desired code page name. Any value returned by is a valid value. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md index ac6eac2e2078e..17417556fcad9 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md @@ -1,9 +1,9 @@ --- -title: "How to: Reorder the Fields of a Delimited File (LINQ) (C#)" +title: "How to reorder the fields of a delimited file (LINQ) (C#)" ms.date: 07/20/2015 ms.assetid: 4e62d82c-61b7-4f18-b9a1-86723746d7d2 --- -# How to: Reorder the Fields of a Delimited File (LINQ) (C#) +# How to reorder the fields of a delimited file (LINQ) (C#) A comma-separated value (CSV) file is a text file that is often used to store spreadsheet data or other tabular data that is represented by rows and columns. By using the method to separate the fields, it is very easy to query and manipulate CSV files by using LINQ. In fact, the same technique can be used to reorder the parts of any structured line of text; it is not limited to CSV files. In the following example, assume that the three columns represent students' "last name," "first name", and "ID." The fields are in alphabetical order based on the students' last names. The query produces a new sequence in which the ID column appears first, followed by a second column that combines the student's first name and last name. The lines are reordered according to the ID field. The results are saved into a new file and the original data is not modified. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md index c77d7cf017065..fa4dd19efbeba 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve a Collection of Attributes (LINQ to XML) (C#)" +title: "How to retrieve a collection of attributes (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: a49ee7a3-b2c2-4d49-9b5c-b7c6c41f4f13 --- -# How to: Retrieve a Collection of Attributes (LINQ to XML) (C#) +# How to retrieve a collection of attributes (LINQ to XML) (C#) This topic introduces the method. This method retrieves the attributes of an element. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-elements-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-elements-linq-to-xml.md index f0479ba71f373..5379c78235122 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-elements-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-collection-of-elements-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve a Collection of Elements (LINQ to XML) (C#)" +title: "How to retrieve a collection of elements (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: b849668c-7976-4974-b8e1-1cd587d34258 --- -# How to: Retrieve a Collection of Elements (LINQ to XML) (C#) +# How to retrieve a collection of elements (LINQ to XML) (C#) This topic demonstrates the method. This method retrieves a collection of the child elements of an element. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-attribute-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-attribute-linq-to-xml.md index 148cc95d7eeba..a6ba8c96202a9 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-attribute-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-attribute-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve a Single Attribute (LINQ to XML) (C#)" +title: "How to retrieve a single attribute (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 1b6b07b9-933f-47e9-874e-e790cab49dc5 --- -# How to: Retrieve a Single Attribute (LINQ to XML) (C#) +# How to retrieve a single attribute (LINQ to XML) (C#) This topic explains how to retrieve a single attribute of an element, given the attribute name. This is useful for writing query expressions where you want to find an element that has a particular attribute. The method of the class returns the with the specified name. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-child-element-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-child-element-linq-to-xml.md index 0c9a5323fae82..8dce0aaf69db1 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-child-element-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-a-single-child-element-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve a Single Child Element (LINQ to XML) (C#)" +title: "How to retrieve a single child element (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: ce37db9e-76fa-46eb-b4cc-e8f32d22ad90 --- -# How to: Retrieve a Single Child Element (LINQ to XML) (C#) +# How to retrieve a single child element (LINQ to XML) (C#) This topic explains how to retrieve a single child element, given the name of the child element. When you know the name of the child element and that there is only one element that has this name, it can be convenient to retrieve just one element, instead of a collection. The method returns the first child with the specified . diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-paragraphs-from-an-office-open-xml-document.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-paragraphs-from-an-office-open-xml-document.md index f17b0f27622ba..e5ba6dff29c40 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-paragraphs-from-an-office-open-xml-document.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-paragraphs-from-an-office-open-xml-document.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve Paragraphs from an Office Open XML Document (C#)" +title: "How to retrieve paragraphs from an Office Open XML document (C#)" ms.date: 07/20/2015 ms.assetid: cc2687cf-d648-451e-88ac-3847c6c967c8 --- -# How to: Retrieve Paragraphs from an Office Open XML Document (C#) +# How to retrieve paragraphs from an Office Open XML document (C#) This topic presents an example that opens an Office Open XML document, and retrieves a collection of all of the paragraphs in the document. For more information on Office Open XML, see [Open XML SDK](https://github.com/OfficeDev/Open-XML-SDK) and [www.ericwhite.com](http://ericwhite.com/). diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-shallow-value-of-an-element.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-shallow-value-of-an-element.md index 41e2e5884d37e..3cba940214597 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-shallow-value-of-an-element.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-shallow-value-of-an-element.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve the Shallow Value of an Element (C#)" +title: "How to retrieve the shallow value of an element (C#)" ms.date: 07/20/2015 ms.assetid: 924a2699-72f6-4be1-aaa6-de62f8ec73b9 --- -# How to: Retrieve the Shallow Value of an Element (C#) +# How to retrieve the shallow value of an element (C#) This topic shows how to get the shallow value of an element. The shallow value is the value of the specific element only, as opposed to the deep value, which includes the values of all descendent elements concatenated into a single string. When you retrieve an element value by using either casting or the property, you retrieve the deep value. To retrieve the shallow value, you can use the `ShallowValue` extension method, as shown in the following example. Retrieving the shallow value is useful when you want to select elements based on their content. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md index 23cb0339282bf..71bd7fb06e933 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve the Value of an Attribute (LINQ to XML) (C#)" +title: "How to retrieve the value of an attribute (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 817bbe89-5979-4234-bf0c-46f63692ac8c --- -# How to: Retrieve the Value of an Attribute (LINQ to XML) (C#) +# How to retrieve the value of an attribute (LINQ to XML) (C#) This topic shows how to obtain the value of attributes. There are two main ways: You can cast an to the desired type; the explicit conversion operator then converts the contents of the element or attribute to the specified type. Alternatively, you can use the property. However, casting is generally the better approach. If you cast the attribute to a nullable type, the code is simpler to write when retrieving the value of an attribute that might or might not exist. For examples of this technique, see [How to: Retrieve the Value of an Element (LINQ to XML) (C#)](./how-to-retrieve-the-value-of-an-element-linq-to-xml.md). ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-element-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-element-linq-to-xml.md index 450e526564d79..29bd111b2d9bf 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-element-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-element-linq-to-xml.md @@ -1,9 +1,9 @@ --- -title: "How to: Retrieve the Value of an Element (LINQ to XML) (C#)" +title: "How to retrieve the value of an element (LINQ to XML) (C#)" ms.date: 07/20/2015 ms.assetid: 4228c007-07c9-4cf2-a45b-e7074c109581 --- -# How to: Retrieve the Value of an Element (LINQ to XML) (C#) +# How to retrieve the value of an element (LINQ to XML) (C#) This topic shows how to get the value of elements. There are two main ways to do this. One way is to cast an or an to the desired type. The explicit conversion operator then converts the contents of the element or attribute to the specified type and assigns it to your variable. Alternatively, you can use the property or the property. With C#, however, casting is generally the better approach. If you cast the element or attribute to a nullable type, the code is simpler to write when retrieving the value of an element (or attribute) that might or might not exist. The last example in this topic demonstrates this. However, you cannot set the contents of an element through casting, as you can through property. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-datacontractserializer.md b/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-datacontractserializer.md index 9ebe173977fe1..65fe1acf2f712 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-datacontractserializer.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-datacontractserializer.md @@ -1,9 +1,9 @@ --- -title: "How to: Serialize Using DataContractSerializer (C#)" +title: "How to serialize using DataContractSerializer (C#)" ms.date: 07/20/2015 ms.assetid: 3320ecbf-cdbe-480e-979c-2c14bbef9988 --- -# How to: Serialize Using DataContractSerializer (C#) +# How to serialize using DataContractSerializer (C#) This topic shows an example that serializes and deserializes using . ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md b/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md index 226806edeac49..e97a370d26078 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md @@ -1,9 +1,9 @@ --- -title: "How to: Serialize Using XmlSerializer (C#)" +title: "How to serialize using XmlSerializer (C#)" ms.date: 07/20/2015 ms.assetid: 2e0a0bbc-c548-4fe2-8741-be5a9ccd0cbb --- -# How to: Serialize Using XmlSerializer (C#) +# How to serialize using XmlSerializer (C#) This topic shows an example that serializes and deserializes using . ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-sort-elements-on-multiple-keys.md b/docs/csharp/programming-guide/concepts/linq/how-to-sort-elements-on-multiple-keys.md index f17e900d7f42f..430a0368ef2d5 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-sort-elements-on-multiple-keys.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-sort-elements-on-multiple-keys.md @@ -1,9 +1,9 @@ --- -title: "How to: Sort Elements on Multiple Keys (C#)" +title: "How to sort elements on multiple keys (C#)" ms.date: 07/20/2015 ms.assetid: 3b2760b6-d607-4ac7-b784-5c6524e2a0e0 --- -# How to: Sort Elements on Multiple Keys (C#) +# How to sort elements on multiple keys (C#) This topic shows how to sort on multiple keys. From 19fc7b0c573c443c9b91557196a45570c7b1f5a4 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 14 Dec 2019 21:33:35 +0200 Subject: [PATCH 2/2] Update where these files are referenced --- .../xml-serializer-generator.md | 2 +- .../keywords/from-clause.md | 2 +- .../keywords/group-clause.md | 2 +- docs/csharp/misc/cs1934.md | 2 +- .../concepts/linq/aggregation-operations.md | 4 +- .../linq/basic-linq-query-operations.md | 2 +- .../linq/basic-queries-linq-to-xml.md | 2 +- .../concepts/linq/converting-data-types.md | 2 +- .../concepts/linq/element-operations.md | 2 +- .../concepts/linq/filtering-data.md | 4 +- .../concepts/linq/grouping-data.md | 2 +- ...-collections-from-multiple-sources-linq.md | 6 +- .../how-to-project-a-new-type-linq-to-xml.md | 2 +- ...der-the-fields-of-a-delimited-file-linq.md | 2 +- ...e-the-value-of-an-attribute-linq-to-xml.md | 2 +- ...ter-text-data-by-any-word-or-field-linq.md | 2 +- ...-stream-xml-fragments-from-an-xmlreader.md | 2 +- .../linq/introduction-to-linq-queries.md | 2 +- .../concepts/linq/join-operations.md | 4 +- .../linq/linq-and-file-directories.md | 10 +-- .../concepts/linq/linq-and-strings.md | 16 ++-- .../concepts/linq/linq-to-objects.md | 2 +- .../concepts/linq/linq-to-xml-vs-dom.md | 2 +- .../concepts/linq/projection-operations.md | 2 +- .../concepts/linq/quantifier-operations.md | 2 +- ...file-customers-and-orders-linq-to-xml-2.md | 2 +- .../sample-xsd-file-customers-and-orders1.md | 2 +- .../concepts/linq/set-operations.md | 2 +- docs/csharp/toc.yml | 82 +++++++++---------- 29 files changed, 85 insertions(+), 85 deletions(-) diff --git a/docs/core/additional-tools/xml-serializer-generator.md b/docs/core/additional-tools/xml-serializer-generator.md index 809681beb1ec7..0e0223c330694 100644 --- a/docs/core/additional-tools/xml-serializer-generator.md +++ b/docs/core/additional-tools/xml-serializer-generator.md @@ -125,5 +125,5 @@ Congratulations! You have just: ## Related resources - [Introducing XML Serialization](../../standard/serialization/introducing-xml-serialization.md) -- [How to: Serialize Using XmlSerializer (C#)](../../csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md) +- [How to serialize using XmlSerializer (C#)](../../csharp/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md) - [How to: Serialize Using XmlSerializer (Visual Basic)](../../visual-basic/programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md) diff --git a/docs/csharp/language-reference/keywords/from-clause.md b/docs/csharp/language-reference/keywords/from-clause.md index 8c06a5da4a326..27a7455b5a442 100644 --- a/docs/csharp/language-reference/keywords/from-clause.md +++ b/docs/csharp/language-reference/keywords/from-clause.md @@ -27,7 +27,7 @@ In the following example, `numbers` is the data source and `num` is the range va ## The range variable -The compiler infers the type of the range variable when the data source implements . For example, if the source has a type of `IEnumerable`, then the range variable is inferred to be `Customer`. The only time that you must specify the type explicitly is when the source is a non-generic `IEnumerable` type such as . For more information, see [How to: Query an ArrayList with LINQ](../../programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md). +The compiler infers the type of the range variable when the data source implements . For example, if the source has a type of `IEnumerable`, then the range variable is inferred to be `Customer`. The only time that you must specify the type explicitly is when the source is a non-generic `IEnumerable` type such as . For more information, see [How to query an ArrayList with LINQ](../../programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md). In the previous example `num` is inferred to be of type `int`. Because the range variable is strongly typed, you can call methods on it or use it in other operations. For example, instead of writing `select num`, you could write `select num.ToString()` to cause the query expression to return a sequence of strings instead of integers. Or you could write `select num + 10` to cause the expression to return the sequence 14, 11, 13, 12, 10. For more information, see [select clause](select-clause.md). diff --git a/docs/csharp/language-reference/keywords/group-clause.md b/docs/csharp/language-reference/keywords/group-clause.md index b9a30386f988d..27bd7e83c00ee 100644 --- a/docs/csharp/language-reference/keywords/group-clause.md +++ b/docs/csharp/language-reference/keywords/group-clause.md @@ -61,7 +61,7 @@ Use a composite key when you want to group elements according to more than one k group person by new {name = person.surname, city = person.city}; ``` -Use a named type if you must pass the query variable to another method. Create a special class using auto-implemented properties for the keys, and then override the and methods. You can also use a struct, in which case you do not strictly have to override those methods. For more information see [How to implement a lightweight class with auto-implemented properties](../../programming-guide/classes-and-structs/how-to-implement-a-lightweight-class-with-auto-implemented-properties.md) and [How to: Query for Duplicate Files in a Directory Tree](../../programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md). The latter article has a code example that demonstrates how to use a composite key with a named type. +Use a named type if you must pass the query variable to another method. Create a special class using auto-implemented properties for the keys, and then override the and methods. You can also use a struct, in which case you do not strictly have to override those methods. For more information see [How to implement a lightweight class with auto-implemented properties](../../programming-guide/classes-and-structs/how-to-implement-a-lightweight-class-with-auto-implemented-properties.md) and [How to query for duplicate files in a directory tree](../../programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md). The latter article has a code example that demonstrates how to use a composite key with a named type. ## Example diff --git a/docs/csharp/misc/cs1934.md b/docs/csharp/misc/cs1934.md index ef7a43c8217a9..e02304ff5b83a 100644 --- a/docs/csharp/misc/cs1934.md +++ b/docs/csharp/misc/cs1934.md @@ -40,4 +40,4 @@ static class Test ## See also -- [How to: Query an ArrayList with LINQ](../programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md) +- [How to query an ArrayList with LINQ](../programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/aggregation-operations.md b/docs/csharp/programming-guide/concepts/linq/aggregation-operations.md index e51c9609174f0..a0d604f194009 100644 --- a/docs/csharp/programming-guide/concepts/linq/aggregation-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/aggregation-operations.md @@ -29,5 +29,5 @@ An aggregation operation computes a single value from a collection of values. An - - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [How to compute column values in a CSV text file (LINQ) (C#)](./how-to-compute-column-values-in-a-csv-text-file-linq.md) -- [How to: Query for the Largest File or Files in a Directory Tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) -- [How to: Query for the Total Number of Bytes in a Set of Folders (LINQ) (C#)](./how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md) +- [How to query for the largest file or files in a directory tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) +- [How to query for the total number of bytes in a set of folders (LINQ) (C#)](./how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/basic-linq-query-operations.md b/docs/csharp/programming-guide/concepts/linq/basic-linq-query-operations.md index 792988165aa51..4f44c388580a6 100644 --- a/docs/csharp/programming-guide/concepts/linq/basic-linq-query-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/basic-linq-query-operations.md @@ -38,7 +38,7 @@ This topic gives a brief introduction to [!INCLUDE[vbteclinq](~/includes/vbtecli The range variable is like the iteration variable in a `foreach` loop except that no actual iteration occurs in a query expression. When the query is executed, the range variable will serve as a reference to each successive element in `customers`. Because the compiler can infer the type of `cust`, you do not have to specify it explicitly. Additional range variables can be introduced by a `let` clause. For more information, see [let clause](../../../language-reference/keywords/let-clause.md). > [!NOTE] -> For non-generic data sources such as , the range variable must be explicitly typed. For more information, see [How to: Query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md) and [from clause](../../../language-reference/keywords/from-clause.md). +> For non-generic data sources such as , the range variable must be explicitly typed. For more information, see [How to query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md) and [from clause](../../../language-reference/keywords/from-clause.md). ## Filtering Probably the most common query operation is to apply a filter in the form of a Boolean expression. The filter causes the query to return only those elements for which the expression is true. The result is produced by using the `where` clause. The filter in effect specifies which elements to exclude from the source sequence. In the following example, only those `customers` who have an address in London are returned. diff --git a/docs/csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md index ced761da97ffa..4372274f94590 100644 --- a/docs/csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/basic-queries-linq-to-xml.md @@ -19,7 +19,7 @@ This section provides examples of basic [!INCLUDE[sqltecxlinq](~/includes/sqltec |[How to filter on an optional element (C#)](./how-to-filter-on-an-optional-element.md)|Shows how to find nodes in an irregularly shaped tree.| |[How to find all nodes in a namespace (C#)](./how-to-find-all-nodes-in-a-namespace.md)|Shows how to find all nodes that are in a specific namespace.| |[How to: Sort Elements (C#)](./how-to-sort-elements.md)|Shows how to write a query that sorts its results.| -|[How to: Sort Elements on Multiple Keys (C#)](./how-to-sort-elements-on-multiple-keys.md)|Shows how to sort on multiple keys.| +|[How to sort elements on multiple keys (C#)](./how-to-sort-elements-on-multiple-keys.md)|Shows how to sort on multiple keys.| |[How to calculate intermediate values (C#)](./how-to-calculate-intermediate-values.md)|Shows how to use the `Let` clause to calculate intermediate values in a [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] query.| |[How to: Write a Query that Finds Elements Based on Context (C#)](./how-to-write-a-query-that-finds-elements-based-on-context.md)|Shows how to select elements based on other elements in the tree.| |[How to debug empty query results sets (C#)](./how-to-debug-empty-query-results-sets.md)|Shows the appropriate fix when debugging queries on XML that is in a default namespace.| diff --git a/docs/csharp/programming-guide/concepts/linq/converting-data-types.md b/docs/csharp/programming-guide/concepts/linq/converting-data-types.md index aa21cf8290e59..0223cd1058df5 100644 --- a/docs/csharp/programming-guide/concepts/linq/converting-data-types.md +++ b/docs/csharp/programming-guide/concepts/linq/converting-data-types.md @@ -74,4 +74,4 @@ static void Cast() - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [from clause](../../../language-reference/keywords/from-clause.md) - [LINQ Query Expressions](../../../linq/index.md) -- [How to: Query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md) +- [How to query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/element-operations.md b/docs/csharp/programming-guide/concepts/linq/element-operations.md index 3fc095c5135ab..2f6b210b26164 100644 --- a/docs/csharp/programming-guide/concepts/linq/element-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/element-operations.md @@ -26,4 +26,4 @@ Element operations return a single, specific element from a sequence. - - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) -- [How to: Query for the Largest File or Files in a Directory Tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) +- [How to query for the largest file or files in a directory tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/filtering-data.md b/docs/csharp/programming-guide/concepts/linq/filtering-data.md index bf351da8d92ff..c4cbf1339c266 100644 --- a/docs/csharp/programming-guide/concepts/linq/filtering-data.md +++ b/docs/csharp/programming-guide/concepts/linq/filtering-data.md @@ -45,6 +45,6 @@ foreach (string str in query) - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [where clause](../../../language-reference/keywords/where-clause.md) - [How to: Dynamically Specify Predicate Filters at Runtime](../../../linq/dynamically-specify-predicate-filters-at-runtime.md) -- [How to: Query An Assembly's Metadata with Reflection (LINQ) (C#)](./how-to-query-an-assembly-s-metadata-with-reflection-linq.md) -- [How to: Query for Files with a Specified Attribute or Name (C#)](./how-to-query-for-files-with-a-specified-attribute-or-name.md) +- [How to query an assembly's metadata with Reflection (LINQ) (C#)](./how-to-query-an-assembly-s-metadata-with-reflection-linq.md) +- [How to query for files with a specified attribute or name (C#)](./how-to-query-for-files-with-a-specified-attribute-or-name.md) - [How to: Sort or Filter Text Data by Any Word or Field (LINQ) (C#)](./how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/grouping-data.md b/docs/csharp/programming-guide/concepts/linq/grouping-data.md index bfdbee469cfea..7391a8175c1f6 100644 --- a/docs/csharp/programming-guide/concepts/linq/grouping-data.md +++ b/docs/csharp/programming-guide/concepts/linq/grouping-data.md @@ -59,7 +59,7 @@ foreach (var group in query) - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [group clause](../../../language-reference/keywords/group-clause.md) - [How to: Create a Nested Group](../../../linq/create-a-nested-group.md) -- [How to: Group Files by Extension (LINQ) (C#)](./how-to-group-files-by-extension-linq.md) +- [How to group files by extension (LINQ) (C#)](./how-to-group-files-by-extension-linq.md) - [How to: Group Query Results](../../../linq/group-query-results.md) - [How to: Perform a Subquery on a Grouping Operation](../../../linq/perform-a-subquery-on-a-grouping-operation.md) - [How to: Split a File Into Many Files by Using Groups (LINQ) (C#)](./how-to-split-a-file-into-many-files-by-using-groups-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md index 4f821637af1ec..9faec1be116d3 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md @@ -12,7 +12,7 @@ This example shows how to merge data from different sources into a sequence of n ## To create the data file -Copy the names.csv and scores.csv files into your project folder, as described in [How to: Join Content from Dissimilar Files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md). +Copy the names.csv and scores.csv files into your project folder, as described in [How to join content from dissimilar files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md). ## Example @@ -35,8 +35,8 @@ class PopulateCollection { static void Main() { - // These data files are defined in How to: Join Content from - // Dissimilar Files (LINQ). + // These data files are defined in How to join content from + // dissimilar files (LINQ). // Each line of names.csv consists of a last name, a first name, and an // ID number, separated by commas. For example, Omelchenko,Svetlana,111 diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md index 4b0a635e8a42e..5e1b79e656174 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md @@ -43,7 +43,7 @@ class Program { } ``` -This example uses the method that was introduced in the topic [How to: Retrieve a Single Child Element (LINQ to XML) (C#)](how-to-retrieve-a-single-child-element-linq-to-xml.md). It also uses casts to retrieve the values of the elements that are returned by the method. +This example uses the method that was introduced in the topic [How to retrieve a single child element (LINQ to XML) (C#)](how-to-retrieve-a-single-child-element-linq-to-xml.md). It also uses casts to retrieve the values of the elements that are returned by the method. This example produces the following output: diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md index 17417556fcad9..9e25091604184 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md @@ -76,4 +76,4 @@ Create a C# console application project, with `using` directives for the System. - [LINQ and Strings (C#)](./linq-and-strings.md) - [LINQ and File Directories (C#)](./linq-and-file-directories.md) -- [How to: Generate XML from CSV Files (C#)](./how-to-generate-xml-from-csv-files.md) +- [How to generate XML from CSV files (C#)](./how-to-generate-xml-from-csv-files.md) diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md index 71bd7fb06e933..b2075015ec53b 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md @@ -4,7 +4,7 @@ ms.date: 07/20/2015 ms.assetid: 817bbe89-5979-4234-bf0c-46f63692ac8c --- # How to retrieve the value of an attribute (LINQ to XML) (C#) -This topic shows how to obtain the value of attributes. There are two main ways: You can cast an to the desired type; the explicit conversion operator then converts the contents of the element or attribute to the specified type. Alternatively, you can use the property. However, casting is generally the better approach. If you cast the attribute to a nullable type, the code is simpler to write when retrieving the value of an attribute that might or might not exist. For examples of this technique, see [How to: Retrieve the Value of an Element (LINQ to XML) (C#)](./how-to-retrieve-the-value-of-an-element-linq-to-xml.md). +This topic shows how to obtain the value of attributes. There are two main ways: You can cast an to the desired type; the explicit conversion operator then converts the contents of the element or attribute to the specified type. Alternatively, you can use the property. However, casting is generally the better approach. If you cast the attribute to a nullable type, the code is simpler to write when retrieving the value of an attribute that might or might not exist. For examples of this technique, see [How to retrieve the value of an element (LINQ to XML) (C#)](./how-to-retrieve-the-value-of-an-element-linq-to-xml.md). ## Example To retrieve the value of an attribute, you just cast the object to your desired type. diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md b/docs/csharp/programming-guide/concepts/linq/how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md index 7bdd2cba17216..d4fd2312f8e04 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md @@ -8,7 +8,7 @@ The following example shows how to sort lines of structured text, such as comma- ### To create a file that contains data -1. Copy the scores.csv data from the topic [How to: Join Content from Dissimilar Files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md) and save it to your solution folder. +1. Copy the scores.csv data from the topic [How to join content from dissimilar files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md) and save it to your solution folder. ## Example diff --git a/docs/csharp/programming-guide/concepts/linq/how-to-stream-xml-fragments-from-an-xmlreader.md b/docs/csharp/programming-guide/concepts/linq/how-to-stream-xml-fragments-from-an-xmlreader.md index aa357f1d4fb90..9aac7cecac9ef 100644 --- a/docs/csharp/programming-guide/concepts/linq/how-to-stream-xml-fragments-from-an-xmlreader.md +++ b/docs/csharp/programming-guide/concepts/linq/how-to-stream-xml-fragments-from-an-xmlreader.md @@ -14,7 +14,7 @@ When you have to process large XML files, it might not be feasible to load the w The topic [How to: Stream XML Fragments with Access to Header Information (C#)](./how-to-stream-xml-fragments-with-access-to-header-information.md) contains information and an example on how to stream a more complex document. - The topic [How to: Perform Streaming Transform of Large XML Documents (C#)](./how-to-perform-streaming-transform-of-large-xml-documents.md) contains an example of using LINQ to XML to transform extremely large XML documents while maintaining a small memory footprint. + The topic [How to perform streaming transform of large XML documents (C#)](./how-to-perform-streaming-transform-of-large-xml-documents.md) contains an example of using LINQ to XML to transform extremely large XML documents while maintaining a small memory footprint. ## Example This example creates a custom axis method. You can query it by using a [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] query. The custom axis method, `StreamRootChildDoc`, is a method that is designed specifically to read a document that has a repeating `Child` element. diff --git a/docs/csharp/programming-guide/concepts/linq/introduction-to-linq-queries.md b/docs/csharp/programming-guide/concepts/linq/introduction-to-linq-queries.md index 9a15db8a65b1a..134f3b83a6044 100644 --- a/docs/csharp/programming-guide/concepts/linq/introduction-to-linq-queries.md +++ b/docs/csharp/programming-guide/concepts/linq/introduction-to-linq-queries.md @@ -50,7 +50,7 @@ IQueryable custQuery = For more information about how to create specific types of data sources, see the documentation for the various [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] providers. However, the basic rule is very simple: a [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] data source is any object that supports the generic interface, or an interface that inherits from it. > [!NOTE] -> Types such as that support the non-generic interface can also be used as a [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] data source. For more information, see [How to: Query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md). +> Types such as that support the non-generic interface can also be used as a [!INCLUDE[vbteclinq](~/includes/vbteclinq-md.md)] data source. For more information, see [How to query an ArrayList with LINQ (C#)](./how-to-query-an-arraylist-with-linq.md). ## The Query The query specifies what information to retrieve from the data source or sources. Optionally, a query also specifies how that information should be sorted, grouped, and shaped before it is returned. A query is stored in a query variable and initialized with a query expression. To make it easier to write queries, C# has introduced new query syntax. diff --git a/docs/csharp/programming-guide/concepts/linq/join-operations.md b/docs/csharp/programming-guide/concepts/linq/join-operations.md index 8f25790312741..3fc869de6c467 100644 --- a/docs/csharp/programming-guide/concepts/linq/join-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/join-operations.md @@ -29,10 +29,10 @@ A *join* of two data sources is the association of objects in one data source wi - [Formulate Joins and Cross-Product Queries](../../../../framework/data/adonet/sql/linq/formulate-joins-and-cross-product-queries.md) - [join clause](../../../language-reference/keywords/join-clause.md) - [How to: Join by Using Composite Keys](../../../linq/join-by-using-composite-keys.md) -- [How to: Join Content from Dissimilar Files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md) +- [How to join content from dissimilar files (LINQ) (C#)](./how-to-join-content-from-dissimilar-files-linq.md) - [How to: Order the Results of a Join Clause](../../../linq/order-the-results-of-a-join-clause.md) - [How to: Perform Custom Join Operations](../../../linq/perform-custom-join-operations.md) - [How to: Perform Grouped Joins](../../../linq/perform-grouped-joins.md) - [How to: Perform Inner Joins](../../../linq/perform-inner-joins.md) - [How to: Perform Left Outer Joins](../../../linq/perform-left-outer-joins.md) -- [How to: Populate Object Collections from Multiple Sources (LINQ) (C#)](./how-to-populate-object-collections-from-multiple-sources-linq.md) +- [How to populate object collections from multiple sources (LINQ) (C#)](./how-to-populate-object-collections-from-multiple-sources-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/linq-and-file-directories.md b/docs/csharp/programming-guide/concepts/linq/linq-and-file-directories.md index c73ec9566f605..7eef8dfb1b811 100644 --- a/docs/csharp/programming-guide/concepts/linq/linq-and-file-directories.md +++ b/docs/csharp/programming-guide/concepts/linq/linq-and-file-directories.md @@ -10,22 +10,22 @@ Many file system operations are essentially queries and are therefore well-suite This section contains the following topics: - [How to: Query for Files with a Specified Attribute or Name (C#)](./how-to-query-for-files-with-a-specified-attribute-or-name.md) + [How to query for files with a specified attribute or name (C#)](./how-to-query-for-files-with-a-specified-attribute-or-name.md) Shows how to search for files by examining one or more properties of its object. - [How to: Group Files by Extension (LINQ) (C#)](./how-to-group-files-by-extension-linq.md) + [How to group files by extension (LINQ) (C#)](./how-to-group-files-by-extension-linq.md) Shows how to return groups of object based on their file name extension. - [How to: Query for the Total Number of Bytes in a Set of Folders (LINQ) (C#)](./how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md) + [How to query for the total number of bytes in a set of folders (LINQ) (C#)](./how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md) Shows how to return the total number of bytes in all the files in a specified directory tree. [How to compare the contents of two folders (LINQ) (C#)](./how-to-compare-the-contents-of-two-folders-linq.md)s Shows how to return all the files that are present in two specified folders, and also all the files that are present in one folder but not the other. - [How to: Query for the Largest File or Files in a Directory Tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) + [How to query for the largest file or files in a directory tree (LINQ) (C#)](./how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md) Shows how to return the largest or smallest file, or a specified number of files, in a directory tree. - [How to: Query for Duplicate Files in a Directory Tree (LINQ) (C#)](./how-to-query-for-duplicate-files-in-a-directory-tree-linq.md) + [How to query for duplicate files in a directory tree (LINQ) (C#)](./how-to-query-for-duplicate-files-in-a-directory-tree-linq.md) Shows how to group for all file names that occur in more than one location in a specified directory tree. Also shows how to perform more complex comparisons based on a custom comparer. [How to: Query the Contents of Files in a Folder (LINQ) (C#)](./how-to-query-the-contents-of-files-in-a-folder-lin.md) diff --git a/docs/csharp/programming-guide/concepts/linq/linq-and-strings.md b/docs/csharp/programming-guide/concepts/linq/linq-and-strings.md index 0d2ed67847766..016c804b20fe0 100644 --- a/docs/csharp/programming-guide/concepts/linq/linq-and-strings.md +++ b/docs/csharp/programming-guide/concepts/linq/linq-and-strings.md @@ -7,7 +7,7 @@ ms.assetid: dbe2d657-b3f3-487e-b645-21fb2d71cd7b LINQ can be used to query and transform strings and collections of strings. It can be especially useful with semi-structured data in text files. LINQ queries can be combined with traditional string functions and regular expressions. For example, you can use the or method to create an array of strings that you can then query or modify by using LINQ. You can use the method in the `where` clause of a LINQ query. And you can use LINQ to query or modify the results returned by a regular expression. -You can also use the techniques described in this section to transform semi-structured text data to XML. For more information, see [How to: Generate XML from CSV Files](how-to-generate-xml-from-csv-files.md). +You can also use the techniques described in this section to transform semi-structured text data to XML. For more information, see [How to generate XML from CSV files](how-to-generate-xml-from-csv-files.md). The examples in this section fall into two categories: @@ -18,11 +18,11 @@ You can query, analyze, and modify text blocks by splitting them into a queryabl - [How to count occurrences of a word in a string (LINQ) (C#)](how-to-count-occurrences-of-a-word-in-a-string-linq.md) Shows how to use LINQ for simple querying over text. -- [How to: Query for Sentences that Contain a Specified Set of Words (LINQ) (C#)](how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md) +- [How to query for sentences that contain a specified set of words (LINQ) (C#)](how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md) Shows how to split text files on arbitrary boundaries and how to perform queries against each part. -- [How to: Query for Characters in a String (LINQ) (C#)](how-to-query-for-characters-in-a-string-linq.md) +- [How to query for characters in a string (LINQ) (C#)](how-to-query-for-characters-in-a-string-linq.md) Demonstrates that a string is a queryable type. @@ -34,7 +34,7 @@ You can query, analyze, and modify text blocks by splitting them into a queryabl Many different types of text files consist of a series of lines, often with similar formatting, such as tab- or comma-delimited files or fixed-length lines. After you read such a text file into memory, you can use LINQ to query and/or modify the lines. LINQ queries also simplify the task of combining data from multiple sources. -- [How to: Find the Set Difference Between Two Lists (LINQ) (C#)](how-to-find-the-set-difference-between-two-lists-linq.md) +- [How to find the set difference between two lists (LINQ) (C#)](how-to-find-the-set-difference-between-two-lists-linq.md) Shows how to find all the strings that are present in one list but not the other. @@ -42,7 +42,7 @@ Many different types of text files consist of a series of lines, often with simi Shows how to sort text lines based on any word or field. -- [How to: Reorder the Fields of a Delimited File (LINQ) (C#)](how-to-reorder-the-fields-of-a-delimited-file-linq.md) +- [How to reorder the fields of a delimited file (LINQ) (C#)](how-to-reorder-the-fields-of-a-delimited-file-linq.md) Shows how to reorder fields in a line in a .csv file. @@ -50,11 +50,11 @@ Many different types of text files consist of a series of lines, often with simi Shows how to combine string lists in various ways. -- [How to: Populate Object Collections from Multiple Sources (LINQ) (C#)](how-to-populate-object-collections-from-multiple-sources-linq.md) +- [How to populate object collections from multiple sources (LINQ) (C#)](how-to-populate-object-collections-from-multiple-sources-linq.md) Shows how to create object collections by using multiple text files as data sources. -- [How to: Join Content from Dissimilar Files (LINQ) (C#)](how-to-join-content-from-dissimilar-files-linq.md) +- [How to join content from dissimilar files (LINQ) (C#)](how-to-join-content-from-dissimilar-files-linq.md) Shows how to combine strings in two lists into a single string by using a matching key. @@ -69,4 +69,4 @@ Many different types of text files consist of a series of lines, often with simi ## See also - [Language-Integrated Query (LINQ) (C#)](index.md) -- [How to: Generate XML from CSV Files](how-to-generate-xml-from-csv-files.md) +- [How to generate XML from CSV files](how-to-generate-xml-from-csv-files.md) diff --git a/docs/csharp/programming-guide/concepts/linq/linq-to-objects.md b/docs/csharp/programming-guide/concepts/linq/linq-to-objects.md index 964119aded839..19cd43c57df3d 100644 --- a/docs/csharp/programming-guide/concepts/linq/linq-to-objects.md +++ b/docs/csharp/programming-guide/concepts/linq/linq-to-objects.md @@ -30,7 +30,7 @@ The term "LINQ to Objects" refers to the use of LINQ queries with any property on a node. ## Static Method Support for Loading XML - [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] lets you load XML by using static methods, instead of instance methods. This simplifies loading and parsing. For more information, see [How to: Load XML from a File (C#)](./how-to-load-xml-from-a-file.md). + [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] lets you load XML by using static methods, instead of instance methods. This simplifies loading and parsing. For more information, see [How to load XML from a file (C#)](./how-to-load-xml-from-a-file.md). ## Removal of Support for DTD Constructs [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] further simplifies XML programming by removing support for entities and entity references. The management of entities is complex, and is rarely used. Removing their support increases performance and simplifies the programming interface. When a [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] tree is populated, all DTD entities are expanded. diff --git a/docs/csharp/programming-guide/concepts/linq/projection-operations.md b/docs/csharp/programming-guide/concepts/linq/projection-operations.md index d18c0db7949f6..16f087e0b6ade 100644 --- a/docs/csharp/programming-guide/concepts/linq/projection-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/projection-operations.md @@ -158,5 +158,5 @@ static void SelectVsSelectMany() - - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [select clause](../../../language-reference/keywords/select-clause.md) -- [How to: Populate Object Collections from Multiple Sources (LINQ) (C#)](./how-to-populate-object-collections-from-multiple-sources-linq.md) +- [How to populate object collections from multiple sources (LINQ) (C#)](./how-to-populate-object-collections-from-multiple-sources-linq.md) - [How to: Split a File Into Many Files by Using Groups (LINQ) (C#)](./how-to-split-a-file-into-many-files-by-using-groups-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/quantifier-operations.md b/docs/csharp/programming-guide/concepts/linq/quantifier-operations.md index 3032b0c0e32a2..dc1f2cfb98b9b 100644 --- a/docs/csharp/programming-guide/concepts/linq/quantifier-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/quantifier-operations.md @@ -42,4 +42,4 @@ The following example uses the `Contains` to check an array have a specific elem - - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [How to: Dynamically Specify Predicate Filters at Runtime](../../../linq/dynamically-specify-predicate-filters-at-runtime.md) -- [How to: Query for Sentences that Contain a Specified Set of Words (LINQ) (C#)](./how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md) +- [How to query for sentences that contain a specified set of words (LINQ) (C#)](./how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md) diff --git a/docs/csharp/programming-guide/concepts/linq/sample-xml-file-customers-and-orders-linq-to-xml-2.md b/docs/csharp/programming-guide/concepts/linq/sample-xml-file-customers-and-orders-linq-to-xml-2.md index 2c9db5f6c6417..6431285cc5dae 100644 --- a/docs/csharp/programming-guide/concepts/linq/sample-xml-file-customers-and-orders-linq-to-xml-2.md +++ b/docs/csharp/programming-guide/concepts/linq/sample-xml-file-customers-and-orders-linq-to-xml-2.md @@ -8,7 +8,7 @@ The following XML file is used in various examples in the [!INCLUDE[sqltecxlinq] The topic [Sample XSD File: Customers and Orders](./sample-xsd-file-customers-and-orders1.md) contains an XSD that can be used to validate this document. It uses the `xs:key` and `xs:keyref` features of XSD to establish that the `CustomerID` attribute of the `Customer` element is a key, and to establish a relationship between the `CustomerID` element in each `Order` element and the `CustomerID` attribute in each `Customer` element. - For an example of writing LINQ queries that take advantage of this relationship using the `Join` clause, see [How to: Join Two Collections (LINQ to XML) (C#)](./how-to-join-two-collections-linq-to-xml.md). + For an example of writing LINQ queries that take advantage of this relationship using the `Join` clause, see [How to join two collections (LINQ to XML) (C#)](./how-to-join-two-collections-linq-to-xml.md). ## CustomersOrders.xml diff --git a/docs/csharp/programming-guide/concepts/linq/sample-xsd-file-customers-and-orders1.md b/docs/csharp/programming-guide/concepts/linq/sample-xsd-file-customers-and-orders1.md index bb4c497beec33..77d3e38eabea3 100644 --- a/docs/csharp/programming-guide/concepts/linq/sample-xsd-file-customers-and-orders1.md +++ b/docs/csharp/programming-guide/concepts/linq/sample-xsd-file-customers-and-orders1.md @@ -6,7 +6,7 @@ ms.assetid: ef9911a3-7ac4-44fd-b36e-a0c0ad0a157d # Sample XSD File: Customers and Orders The following XSD file is used in various examples in the [!INCLUDE[sqltecxlinq](~/includes/sqltecxlinq-md.md)] documentation. This file contains a schema definition for the [Sample XML File: Customers and Orders (LINQ to XML)](./sample-xml-file-customers-and-orders-linq-to-xml-2.md). The schema uses the `xs:key` and `xs:keyref` features of XSD to establish that the `CustomerID` attribute of the `Customer` element is a key, and to establish a relationship between the `CustomerID` element in each `Order` element and the `CustomerID` attribute in each `Customer` element. - For an example of writing LINQ queries that take advantage of this relationship using the `Join` clause, see [How to: Join Two Collections (LINQ to XML) (C#)](./how-to-join-two-collections-linq-to-xml.md). + For an example of writing LINQ queries that take advantage of this relationship using the `Join` clause, see [How to join two collections (LINQ to XML) (C#)](./how-to-join-two-collections-linq-to-xml.md). ## CustomersOrders.xsd diff --git a/docs/csharp/programming-guide/concepts/linq/set-operations.md b/docs/csharp/programming-guide/concepts/linq/set-operations.md index ddaf4f37a2b18..063acf2802ff5 100644 --- a/docs/csharp/programming-guide/concepts/linq/set-operations.md +++ b/docs/csharp/programming-guide/concepts/linq/set-operations.md @@ -52,4 +52,4 @@ Set operations in LINQ refer to query operations that produce a result set that - - [Standard Query Operators Overview (C#)](./standard-query-operators-overview.md) - [How to combine and compare string collections (LINQ) (C#)](./how-to-combine-and-compare-string-collections-linq.md) -- [How to: Find the Set Difference Between Two Lists (LINQ) (C#)](./how-to-find-the-set-difference-between-two-lists-linq.md) +- [How to find the set difference between two lists (LINQ) (C#)](./how-to-find-the-set-difference-between-two-lists-linq.md) diff --git a/docs/csharp/toc.yml b/docs/csharp/toc.yml index 0f45b1bdc2de6..3cb550c1b6905 100644 --- a/docs/csharp/toc.yml +++ b/docs/csharp/toc.yml @@ -485,51 +485,51 @@ items: - name: "How to count occurrences of a word in a string (LINQ)" href: programming-guide/concepts/linq/how-to-count-occurrences-of-a-word-in-a-string-linq.md - - name: "How to: Query for Sentences that Contain a Specified Set of Words (LINQ)" + - name: "How to query for sentences that contain a specified set of words (LINQ)" href: programming-guide/concepts/linq/how-to-query-for-sentences-that-contain-a-specified-set-of-words-linq.md - - name: "How to: Query for Characters in a String (LINQ)" + - name: "How to query for characters in a string (LINQ)" href: programming-guide/concepts/linq/how-to-query-for-characters-in-a-string-linq.md - name: "How to combine LINQ queries with regular expressions" href: programming-guide/concepts/linq/how-to-combine-linq-queries-with-regular-expressions.md - - name: "How to: Find the Set Difference Between Two Lists (LINQ)" + - name: "How to find the set difference between two lists (LINQ)" href: programming-guide/concepts/linq/how-to-find-the-set-difference-between-two-lists-linq.md - name: "How to: Sort or Filter Text Data by Any Word or Field (LINQ)" href: programming-guide/concepts/linq/how-to-sort-or-filter-text-data-by-any-word-or-field-linq.md - - name: "How to: Reorder the Fields of a Delimited File (LINQ)" + - name: "How to reorder the fields of a delimited file (LINQ)" href: programming-guide/concepts/linq/how-to-reorder-the-fields-of-a-delimited-file-linq.md - name: "How to combine and compare string collections (LINQ)" href: programming-guide/concepts/linq/how-to-combine-and-compare-string-collections-linq.md - - name: "How to: Populate Object Collections from Multiple Sources (LINQ)" + - name: "How to populate object collections from multiple sources (LINQ)" href: programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq.md - name: "How to: Split a File Into Many Files by Using Groups (LINQ)" href: programming-guide/concepts/linq/how-to-split-a-file-into-many-files-by-using-groups-linq.md - - name: "How to: Join Content from Dissimilar Files (LINQ)" + - name: "How to join content from dissimilar files (LINQ)" href: programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md - name: "How to compute column values in a CSV text file (LINQ)" href: programming-guide/concepts/linq/how-to-compute-column-values-in-a-csv-text-file-linq.md - name: LINQ and Reflection href: programming-guide/concepts/linq/linq-and-reflection.md - - name: "How to: Query An Assembly's Metadata with Reflection (LINQ)" + - name: "How to query an assembly's metadata with Reflection (LINQ)" href: programming-guide/concepts/linq/how-to-query-an-assembly-s-metadata-with-reflection-linq.md - name: LINQ and File Directories items: - name: Overview href: programming-guide/concepts/linq/linq-and-file-directories.md - - name: "How to: Query for Files with a Specified Attribute or Name" + - name: "How to query for files with a specified attribute or name" href: programming-guide/concepts/linq/how-to-query-for-files-with-a-specified-attribute-or-name.md - - name: "How to: Group Files by Extension (LINQ)" + - name: "How to group files by extension (LINQ)" href: programming-guide/concepts/linq/how-to-group-files-by-extension-linq.md - - name: "How to: Query for the Total Number of Bytes in a Set of Folders (LINQ)" + - name: "How to query for the total number of bytes in a set of folders (LINQ)" href: programming-guide/concepts/linq/how-to-query-for-the-total-number-of-bytes-in-a-set-of-folders-linq.md - name: "How to compare the contents of two folders (LINQ)" href: programming-guide/concepts/linq/how-to-compare-the-contents-of-two-folders-linq.md - - name: "How to: Query for the Largest File or Files in a Directory Tree (LINQ)" + - name: "How to query for the largest file or files in a directory tree (LINQ)" href: programming-guide/concepts/linq/how-to-query-for-the-largest-file-or-files-in-a-directory-tree-linq.md - - name: "How to: Query for Duplicate Files in a Directory Tree (LINQ)" + - name: "How to query for duplicate files in a directory tree (LINQ)" href: programming-guide/concepts/linq/how-to-query-for-duplicate-files-in-a-directory-tree-linq.md - name: "How to: Query the Contents of Files in a Folder (LINQ)" href: programming-guide/concepts/linq/how-to-query-the-contents-of-files-in-a-folder-lin.md - - name: "How to: Query an ArrayList with LINQ" + - name: "How to query an ArrayList with LINQ" href: programming-guide/concepts/linq/how-to-query-an-arraylist-with-linq.md - name: "How to add custom methods for LINQ queries" href: programming-guide/concepts/linq/how-to-add-custom-methods-for-linq-queries.md @@ -567,9 +567,9 @@ href: programming-guide/concepts/linq/creating-xml-trees-linq-to-xml-2.md - name: Parsing XML items: - - name: "How to: Parse a String" + - name: "How to parse a string" href: programming-guide/concepts/linq/how-to-parse-a-string.md - - name: "How to: Load XML from a File" + - name: "How to load XML from a file" href: programming-guide/concepts/linq/how-to-load-xml-from-a-file.md - name: Preserving White Space while Loading or Parsing XML href: programming-guide/concepts/linq/preserving-white-space-while-loading-or-parsing-xml1.md @@ -579,7 +579,7 @@ href: programming-guide/concepts/linq/how-to-create-a-tree-from-an-xmlreader.md - name: "How to: Stream XML Fragments from an XmlReader" href: programming-guide/concepts/linq/how-to-stream-xml-fragments-from-an-xmlreader.md - - name: "How to: Populate an XML Tree with an XmlWriter (LINQ to XML)" + - name: "How to populate an XML tree with an XmlWriter (LINQ to XML)" href: programming-guide/concepts/linq/how-to-populate-an-xml-tree-with-an-xmlwriter-linq-to-xml.md - name: "How to: Validate Using XSD (LINQ to XML)" href: programming-guide/concepts/linq/how-to-validate-using-xsd-linq-to-xml.md @@ -611,23 +611,23 @@ items: - name: LINQ to XML Axes Overview href: programming-guide/concepts/linq/linq-to-xml-axes-overview.md - - name: "How to: Retrieve a Collection of Elements (LINQ to XML)" + - name: "How to retrieve a collection of elements (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-a-collection-of-elements-linq-to-xml.md - - name: "How to: Retrieve the Value of an Element (LINQ to XML)" + - name: "How to retrieve the value of an element (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-element-linq-to-xml.md - name: "How to filter on element names (LINQ to XML)" href: programming-guide/concepts/linq/how-to-filter-on-element-names-linq-to-xml.md - name: "How to chain axis method calls (LINQ to XML)" href: programming-guide/concepts/linq/how-to-chain-axis-method-calls-linq-to-xml.md - - name: "How to: Retrieve a Single Child Element (LINQ to XML)" + - name: "How to retrieve a single child element (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-a-single-child-element-linq-to-xml.md - - name: "How to: Retrieve a Collection of Attributes (LINQ to XML)" + - name: "How to retrieve a collection of attributes (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-a-collection-of-attributes-linq-to-xml.md - - name: "How to: Retrieve a Single Attribute (LINQ to XML)" + - name: "How to retrieve a single attribute (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-a-single-attribute-linq-to-xml.md - - name: "How to: Retrieve the Value of an Attribute (LINQ to XML)" + - name: "How to retrieve the value of an attribute (LINQ to XML)" href: programming-guide/concepts/linq/how-to-retrieve-the-value-of-an-attribute-linq-to-xml.md - - name: "How to: Retrieve the Shallow Value of an Element" + - name: "How to retrieve the shallow value of an element" href: programming-guide/concepts/linq/how-to-retrieve-the-shallow-value-of-an-element.md - name: Querying XML Trees items: @@ -651,7 +651,7 @@ href: programming-guide/concepts/linq/how-to-find-all-nodes-in-a-namespace.md - name: "How to: Sort Elements" href: programming-guide/concepts/linq/how-to-sort-elements.md - - name: "How to: Sort Elements on Multiple Keys" + - name: "How to sort elements on multiple keys" href: programming-guide/concepts/linq/how-to-sort-elements-on-multiple-keys.md - name: "How to calculate intermediate values" href: programming-guide/concepts/linq/how-to-calculate-intermediate-values.md @@ -667,35 +667,35 @@ href: programming-guide/concepts/linq/how-to-transform-the-shape-of-an-xml-tree.md - name: "How to control the type of a projection" href: programming-guide/concepts/linq/how-to-control-the-type-of-a-projection.md - - name: "How to: Project a New Type (LINQ to XML)" + - name: "How to project a new type (LINQ to XML)" href: programming-guide/concepts/linq/how-to-project-a-new-type-linq-to-xml.md - - name: "How to: Project an Object Graph" + - name: "How to project an object graph" href: programming-guide/concepts/linq/how-to-project-an-object-graph.md - - name: "How to: Project an Anonymous Type" + - name: "How to project an anonymous type" href: programming-guide/concepts/linq/how-to-project-an-anonymous-type.md - - name: "How to: Generate Text Files from XML" + - name: "How to generate text files from XML" href: programming-guide/concepts/linq/how-to-generate-text-files-from-xml.md - - name: "How to: Generate XML from CSV Files" + - name: "How to generate XML from CSV files" href: programming-guide/concepts/linq/how-to-generate-xml-from-csv-files.md - name: Advanced Query Techniques (LINQ to XML) items: - - name: "How to: Join Two Collections (LINQ to XML)" + - name: "How to join two collections (LINQ to XML)" href: programming-guide/concepts/linq/how-to-join-two-collections-linq-to-xml.md - name: "How to create hierarchy using grouping" href: programming-guide/concepts/linq/how-to-create-hierarchy-using-grouping.md - - name: "How to: Query LINQ to XML Using XPath" + - name: "How to query LINQ to XML using XPath" href: programming-guide/concepts/linq/how-to-query-linq-to-xml-using-xpath.md - name: "How to: Write a LINQ to XML Axis Method" href: programming-guide/concepts/linq/how-to-write-a-linq-to-xml-axis-method.md - - name: "How to: Perform Streaming Transformations of Text to XML" + - name: "How to perform streaming transformations of text to XML" href: programming-guide/concepts/linq/how-to-perform-streaming-transformations-of-text-to-xml.md - - name: "How to: List All Nodes in a Tree" + - name: "How to list all nodes in a tree" href: programming-guide/concepts/linq/how-to-list-all-nodes-in-a-tree.md - - name: "How to: Retrieve Paragraphs from an Office Open XML Document" + - name: "How to retrieve paragraphs from an Office Open XML document" href: programming-guide/concepts/linq/how-to-retrieve-paragraphs-from-an-office-open-xml-document.md - - name: "How to: Modify an Office Open XML Document" + - name: "How to modify an Office Open XML document" href: programming-guide/concepts/linq/how-to-modify-an-office-open-xml-document.md - - name: "How to: Populate an XML Tree from the File System" + - name: "How to populate an XML tree from the file system" href: programming-guide/concepts/linq/how-to-populate-an-xml-tree-from-the-file-system.md - name: LINQ to XML for XPath Users items: @@ -705,7 +705,7 @@ href: programming-guide/concepts/linq/how-to-find-a-child-element-xpath-linq-to-xml.md - name: "How to find a list of child elements (XPath-LINQ to XML)" href: programming-guide/concepts/linq/how-to-find-a-list-of-child-elements-xpath-linq-to-xml.md - - name: "How to: Find the Root Element (XPath-LINQ to XML)" + - name: "How to find the root element (XPath-LINQ to XML)" href: programming-guide/concepts/linq/how-to-find-the-root-element-xpath-linq-to-xml.md - name: "How to find descendant elements (XPath-LINQ to XML)" href: programming-guide/concepts/linq/how-to-find-descendant-elements-xpath-linq-to-xml.md @@ -835,9 +835,9 @@ href: programming-guide/concepts/linq/mixed-declarative-code-imperative-code-bugs-linq-to-xml.md - name: "How to: Stream XML Fragments with Access to Header Information" href: programming-guide/concepts/linq/how-to-stream-xml-fragments-with-access-to-header-information.md - - name: "How to: Perform Streaming Transform of Large XML Documents" + - name: "How to perform streaming transform of large XML documents" href: programming-guide/concepts/linq/how-to-perform-streaming-transform-of-large-xml-documents.md - - name: "How to: Read and Write an Encoded Document" + - name: "How to read and write an encoded document" href: programming-guide/concepts/linq/how-to-read-and-write-an-encoded-document.md - name: Using XSLT to Transform an XML Tree href: programming-guide/concepts/linq/using-xslt-to-transform-an-xml-tree.md @@ -845,9 +845,9 @@ href: programming-guide/concepts/linq/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.md - name: Serializing Object Graphs that Contain XElement Objects items: - - name: "How to: Serialize Using XmlSerializer" + - name: "How to serialize using XmlSerializer" href: programming-guide/concepts/linq/how-to-serialize-using-xmlserializer.md - - name: "How to: Serialize Using DataContractSerializer" + - name: "How to serialize using DataContractSerializer" href: programming-guide/concepts/linq/how-to-serialize-using-datacontractserializer.md - name: LINQ to XML Security href: programming-guide/concepts/linq/linq-to-xml-security.md