This documentation is archived and is not being maintained.

XAttribute Members

Visual Studio 2008

Represents an XML attribute.

The XAttribute type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XAttribute Overloaded. Initializes a new instance of the XAttribute class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework AddAnnotation Adds an object to the annotation list of this XObject. (Inherited from XObject.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Annotation Overloaded. Gets an annotation from this XObject.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Annotations Overloaded. Gets a collection of annotations for this XObject.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes this attribute from its parent element.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework RemoveAnnotations Overloaded. Removes annotations from this XObject.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SetValue Sets the value of this attribute.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Converts the current XAttribute object to a string representation. (Overrides Object.ToString().)
Top

  NameDescription
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Explicit Overloaded.
Top

  NameDescription
Public Extension Method GetSchemaInfo Gets the post-schema-validation infoset (PSVI) of a validated attribute. (Defined by Extensions.)
Public Extension Method Validate Overloaded. Validates that an XDocument, an XElement, or an XAttribute conforms to an XSD in an XmlSchemaSet.
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework BaseUri Gets the base URI for this XObject. (Inherited from XObject.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Document Gets the XDocument for this XObject. (Inherited from XObject.)
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework EmptySequence Gets an empty collection of attributes.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsNamespaceDeclaration Determines if this attribute is a namespace declaration.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets the expanded name of this attribute.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NextAttribute Gets the next attribute of the parent element.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NodeType Gets the node type for this node. (Overrides XObject.NodeType.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Parent Gets the parent XElement of this XObject. (Inherited from XObject.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PreviousAttribute Gets the previous attribute of the parent element.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Value Gets or sets the value of this attribute.
Top

  NameDescription
Public event Supported by the .NET Compact Framework Supported by the XNA Framework Changed Raised when this XObject or any of its descendants have changed. (Inherited from XObject.)
Public event Supported by the .NET Compact Framework Supported by the XNA Framework Changing Raised when this XObject or any of its descendants are about to change. (Inherited from XObject.)
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IXmlLineInfo.HasLineInfo Gets a value indicating whether or not this XObject has line information. (Inherited from XObject.)
Explicit interface implemetation Private property Supported by the .NET Compact Framework Supported by the XNA Framework IXmlLineInfo.LineNumber Gets the line number that the underlying XmlReader reported for this XObject. (Inherited from XObject.)
Explicit interface implemetation Private property Supported by the .NET Compact Framework Supported by the XNA Framework IXmlLineInfo.LinePosition Gets the line position that the underlying XmlReader reported for this XObject. (Inherited from XObject.)
Top
Show: