XAttribute Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The XAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddAnnotation | Adds an object to the annotation list of this XObject. (Inherited from XObject.) |
|
Annotation(Type) | Gets the first annotation object of the specified type from this XObject. (Inherited from XObject.) |
|
Annotation<T>() | Get the first annotation object of the specified type from this XObject. (Inherited from XObject.) |
|
Annotations(Type) | Gets a collection of annotations of the specified type for this XObject. (Inherited from XObject.) |
|
Annotations<T>() | Gets a collection of annotations of the specified type for this XObject. (Inherited from XObject.) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes this attribute from its parent element. |
|
RemoveAnnotations(Type) | Removes the annotations of the specified type from this XObject. (Inherited from XObject.) |
|
RemoveAnnotations<T>() | Removes the annotations of the specified type from this XObject. (Inherited from XObject.) |
|
SetValue | Sets the value of this attribute. |
|
ToString | Converts the current XAttribute object to a string representation. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
IXmlLineInfo.HasLineInfo | Gets a value indicating whether or not this XObject has line information. (Inherited from XObject.) |
Show: