Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XAttribute Methods

The XAttribute type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library AddAnnotation Adds an object to the annotation list of this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library Annotation(Type) Gets the first annotation object of the specified type from this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library Annotation<T>() Get the first annotation object of the specified type from this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library Annotations(Type) Gets a collection of annotations of the specified type for this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library Annotations<T>() Gets a collection of annotations of the specified type for this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by the XNA Framework Supported by Portable Class Library 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 XNA Framework Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by the XNA Framework Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by the XNA Framework Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the XNA Framework Supported by Portable Class Library Remove Removes this attribute from its parent element.
Public method Supported by the XNA Framework Supported by Portable Class Library RemoveAnnotations(Type) Removes the annotations of the specified type from this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library RemoveAnnotations<T>() Removes the annotations of the specified type from this XObject. (Inherited from XObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library SetValue Sets the value of this attribute.
Public method Supported by the XNA Framework Supported by Portable Class Library ToString Converts the current XAttribute object to a string representation. (Overrides Object.ToString().)
Top

  Name Description
Public Extension Method GetSchemaInfo Gets the post-schema-validation infoset (PSVI) of a validated attribute. (Defined by Extensions.)
Public Extension Method Validate(XmlSchemaObject, XmlSchemaSet, ValidationEventHandler) Overloaded. This method validates that an XAttribute conforms to a specified XmlSchemaObject and an XmlSchemaSet. (Defined by Extensions.)
Public Extension Method Validate(XmlSchemaObject, XmlSchemaSet, ValidationEventHandler, Boolean) Overloaded. Validates that an XAttribute conforms to a specified XmlSchemaObject and an XmlSchemaSet, optionally populating the XML tree with the post-schema-validation infoset (PSVI). (Defined by Extensions.)
Top

  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework Supported by Portable Class Library IXmlLineInfo.HasLineInfo Gets a value indicating whether or not this XObject has line information. (Inherited from XObject.)
Top
Show:
© 2015 Microsoft