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

本節包含概述、示例和背景資訊,可説明您理解和使用視覺化基本查詢和語言集成查詢 (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
描述支援 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
描述視覺化基礎如何支援 LINQ 到 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
向 SQL 技術解釋 LINQ,並提供指向説明您使用 LINQ 到 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 的應用程式的工具。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 中開始使用 LINQ#Getting Started with LINQ in C#
提供有關在 C# 中使用 LINQ 的主題的連結。Provides links to topics about using LINQ in C#.