Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Menu
Attribute « XML LINQ « C# / C Sharp
C# / C Sharp
XML LINQ
Attribute
1.
Get Attribute with namespace
2.
Accessing an Element's Attributes Using the Attributes Method
3.
Calling the Remove
4.
Accessing an Element's First Attribute with the FirstAttribute Property
5.
Accessing the Next Attribute with the NextAttribute Property
6.
Accessing the Previous Attribute with the PreviousAttribute Property
7.
Accessing the Last Attribute with the LastAttribute Property
8.
Accessing an Attribute with the Attribute Method
9.
Accessing All of an Element's Attributes with the Attributes Method
10.
Removing an Attribute
11.
Removing All of an Element's Attributes
12.
Changing an Attribute's Value
13.
Using SetAttributeValue to Add, Delete, and Update Attributes
14.
Calling the First Attributes Prototype
15.
Calling the Second Attributes Prototype
16.
XElement.Attribute returns the XAttribute of this XElement that has the specified XName.
17.
XElement.Attributes returns a collection of attributes of this element.
18.
Returns a filtered collection of attributes of this element.
19.
XElement.FirstAttribute gets the first attribute of this element.
20.
XElement.HasAttributes gets a value indicating whether this element as at least one attribute.
21.
XElement.LastAttribute gets the last attribute of this element.
22.
XElement.RemoveAll removes nodes and attributes from this XElement.
23.
XElement.RemoveAttributes removes the attributes of this XElement.
24.
XElement.ReplaceAll replaces the child nodes and the attributes of this element
25.
XElement.ReplaceAttributes replaces the attributes of this element with the specified content.
26.
XElement.SetAttributeValue sets the value of an attribute, adds an attribute, or removes an attribute.