System.Xml.Linq Ad Alanı
LINQ to XML sınıflarını içerir. Contains the classes for LINQ to XML. LINQ to XML, XML belgelerini verimli ve kolay bir şekilde değiştirmenizi sağlayan bellek içi bir XML programlama arabirimidir. LINQ to XML is an in-memory XML programming interface that enables you to modify XML documents efficiently and easily.
Sınıflar
Extensions |
LINQ to XML uzantısı yöntemlerini içerir.Contains the LINQ to XML extension methods. |
XAttribute |
Bir XML özniteliğini temsil eder.Represents an XML attribute. |
XCData |
CDATA içeren bir metin düğümünü temsil eder.Represents a text node that contains CDATA. |
XComment |
Bir XML açıklamasını temsil eder.Represents an XML comment. |
XContainer |
Diğer düğümleri içerebilen bir düğümü temsil eder.Represents a node that can contain other nodes. |
XDeclaration |
Bir XML bildirimini temsil eder.Represents an XML declaration. |
XDocument |
Bir XML belgesini temsil eder.Represents an XML document. Bir nesnenin bileşenleri ve kullanımı için XDocument bkz. XDocument sınıfına genel bakış.For the components and usage of an XDocument object, see XDocument Class Overview. |
XDocumentType |
Bir XML belge türü tanımını (DTD) temsil eder.Represents an XML Document Type Definition (DTD). |
XElement |
Bir XML öğesini temsil eder.Represents an XML element. Kullanım bilgileri ve örnekleri için bu sayfadaki XElement sınıfına genel bakış ve açıklamalar bölümüne bakın.See XElement Class Overview and the Remarks section on this page for usage information and examples. |
XName |
Bir XML öğesinin veya özniteliğin adını temsil eder.Represents a name of an XML element or attribute. |
XNamespace |
Bir XML ad alanını temsil eder.Represents an XML namespace. Bu sınıf devralınamaz.This class cannot be inherited. |
XNode |
XML ağacındaki bir düğümün soyut kavramını (öğe, açıklama, belge türü, işleme yönergesi veya metin düğümü) temsil eder.Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree. |
XNodeDocumentOrderComparer |
Düğümlerini Belge sıralarına göre karşılaştırmak için işlevsellik içerir.Contains functionality to compare nodes for their document order. Bu sınıf devralınamaz.This class cannot be inherited. |
XNodeEqualityComparer |
Eşit olup olmadığını belirleyecek düğümleri karşılaştırır.Compares nodes to determine whether they are equal. Bu sınıf devralınamaz.This class cannot be inherited. |
XObject |
Bir XML ağacındaki bir düğümü veya özniteliği temsil eder.Represents a node or an attribute in an XML tree. |
XObjectChangeEventArgs |
Ve olayları için veri Changing sağlar Changed .Provides data for the Changing and Changed events. |
XProcessingInstruction |
Bir XML işleme yönergesini temsil eder.Represents an XML processing instruction. |
XStreamingElement |
Ertelenmiş akış çıkışını destekleyen bir XML ağacındaki öğeleri temsil eder.Represents elements in an XML tree that supports deferred streaming output. |
XText |
Bir metin düğümünü temsil eder.Represents a text node. |
Numaralandırmalar
LoadOptions |
XML ayrıştırılırken yükleme seçeneklerini belirtir.Specifies load options when parsing XML. |
ReaderOptions |
İle yüklenirken yinelenen ad alanlarının yok sayılıp engellenip engellenmeyeceğini belirtir XDocument XmlReader .Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader. |
SaveOptions |
Serileştirme seçeneklerini belirtir.Specifies serialization options. |
XObjectChange |
Bir olay oluşturulduğunda olay türünü belirtir XObject .Specifies the event type when an event is raised for an XObject. |
Açıklamalar
LINQ to XML kullanarak şunları yapabilirsiniz:Using LINQ to XML, you can:
Dosyalardan veya akışlardan XML yükleyin.Load XML from files or streams.
XML 'yi dosyalara veya akışlara seri hale getirme.Serialize XML to files or streams.
İşlevsel oluşturma kullanarak sıfırdan XML ağaçları oluşturun.Create XML trees from scratch using functional construction.
LINQ sorguları kullanarak XML ağaçlarını sorgulama.Query XML trees using LINQ queries.
Bellek içi XML ağaçlarını işleme.Manipulate in-memory XML trees.
XSD kullanarak XML ağaçlarını doğrulayın.Validate XML trees using XSD.
XML ağaçlarını bir şekilden diğerine dönüştürmek için bu özelliklerin birleşimini kullanın.Use a combination of these features to transform XML trees from one shape into another.