Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
Visual Basic enables you to use XML literals directly in your code. The XML literal syntax represents LINQ to XML objects, and it is similar to the XML 1.0 syntax. This makes it easier to create XML elements, documents, and fragments programmatically because your code has the same structure as the final XML.
In This Section
| Term | Definition |
|---|---|
| XML Literals Overview | Introduction to XML literals and how they relate to LINQ to XML. |
| Embedded Expressions in XML | Describes how to use embedded expressions in XML literals. |
| How to: Create XML Literals | Describes how to create an XML element in code by using an XML literal. |
| White Space in XML Literals | Describes how Visual Basic treats white space in XML literals. |
| XML Literals and the XML 1.0 Specification | Describes how the XML literal syntax in Visual Basic relates to the XML 1.0 specification. |
| How to: Embed Expressions in XML Literals | Describes how to use embedded expressions in XML literals to create content at run time. |
| Names of Declared XML Elements and Attributes | Describes guidelines for naming XML elements and attributes. |
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem xét các vấn đề cũng như yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn cộng tác viên của chúng tôi.