使用 Visual Basic 撰寫 LINQ 入門Getting Started with LINQ in Visual Basic

本章節包含概觀、 範例,以及可協助您了解及使用 Visual Basic 和 Language-Integrated Query (LINQ) 的背景資訊。This section contains overviews, examples, and background information that will help you understand and use Visual Basic and Language-Integrated Query (LINQ).

本節內容In This Section

撰寫第一個 LINQ 查詢Writing Your First LINQ Query
說明撰寫基本 LINQ 查詢的三個階段: 取得資料來源、 撰寫查詢,以及執行查詢。Describes the three stages in writing a basic LINQ query: obtaining the data source, writing the query, and executing the query.

基本查詢作業 (Visual Basic)Basic Query Operations (Visual Basic)
說明最常見的查詢作業和 Visual Basic 中的表示方式。Describes the most common types of query operations and how they are expressed in Visual Basic.

支援 LINQ 的 Visual Basic 功能Visual Basic Features That Support LINQ
描述 Visual Basic 語言功能支援 LINQ,如匿名型別與型別推斷。Describes the Visual Basic language features that support LINQ, such as anonymous types and type inference.

查詢作業 (Visual Basic) 中的型別關聯性Type Relationships in Query Operations (Visual Basic)
描述如何保留或撰寫和執行查詢時轉換資料型別。Describes how data types are preserved or transformed when queries are written and executed.

逐步解說:在 Visual Basic 中撰寫查詢Walkthrough: Writing Queries in Visual Basic
建立 Visual Basic LINQ 專案、 加入簡單的資料來源,以及執行一些基本查詢作業的逐步指示。Step-by-step instructions for creating a Visual Basic LINQ project, adding a simple data source, and performing some basic query operations.

Visual Basic 中的 LINQ 簡介Introduction to LINQ in Visual Basic
包含 LINQ 的查詢概觀,並提供其他資源連結。Includes an overview of queries in LINQ and provides links to additional resources.

Visual Basic 中的 LINQ to XML 概觀Overview of LINQ to XML in Visual Basic
描述 Visual Basic 支援 LINQ to XML 的方式。Describes how Visual Basic supports LINQ to XML.

LINQ to DataSet 概觀LINQ to DataSet Overview
資料集提供 LINQ 的概念性概觀。Provides a conceptual overview of LINQ to DataSet.

LINQ to SQLLINQ to SQL
說明 LINQ 到 SQL 技術,並提供主題連結,幫助您使用 LINQ to SQL。Explains the LINQ to SQL technology and provides links to topics that help you use LINQ to SQL.

LINQ 的 Visual Studio IDE 和工具支援 (Visual Basic)Visual Studio IDE and Tools Support for LINQ (Visual Basic)
說明設計、 編碼和偵錯啟用 LINQ 之應用程式的 Visual Studio 環境中所提供的工具。Describes tools that are available in the Visual Studio environment for designing, coding, and debugging LINQ-enabled applications.

LINQ to Objects (Visual Basic)LINQ to Objects (Visual Basic)
包含使用 LINQ 與記憶體中集合的使用說明主題的選取項目。Includes a selection of How-to topics for using LINQ with in-memory collections.

LINQ to XML (Visual Basic)LINQ to XML (Visual Basic)
包含主題連結,說明如何使用 LINQ to XML,以提供「文件物件模型」(DOM) 的記憶體中文件修改功能,並支援 LINQ 查詢運算式。Includes links to topics that explain how to use LINQ to XML, which provides the in-memory document modification capabilities of the Document Object Model (DOM), and supports LINQ query expressions.

Language-Integrated Query (LINQ) (Visual Basic)Language-Integrated Query (LINQ) (Visual Basic)
提供說明 LINQ 技術的主題連結。Provides links to topics that explain the LINQ technologies.

開始使用 C# 中的 LINQGetting Started with LINQ in C#
提供有關使用中的 LINQ 的主題連結C#。Provides links to topics about using LINQ in C#.