This topic has not yet been rated Rate this topic

XPathItem Class

Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.

Namespace:  System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)
public abstract class XPathItem

The XPathItem type exposes the following members.

  Name Description
Protected method Supported by the XNA Framework XPathItem Initializes a new instance of the XPathItem class.
Top
  Name Description
Public property Supported by the XNA Framework IsNode When overridden in a derived class, gets a value indicating whether the item represents an XPath node or an atomic value.
Public property Supported by the XNA Framework TypedValue When overridden in a derived class, gets the current item as a boxed object of the most appropriate .NET Framework version 2.0 type according to its schema type.
Public property Supported by the XNA Framework Value When overridden in a derived class, gets the string value of the item.
Public property Supported by the XNA Framework ValueAsBoolean When overridden in a derived class, gets the item's value as a Boolean.
Public property Supported by the XNA Framework ValueAsDateTime When overridden in a derived class, gets the item's value as a DateTime.
Public property Supported by the XNA Framework ValueAsDouble When overridden in a derived class, gets the item's value as a Double.
Public property Supported by the XNA Framework ValueAsInt When overridden in a derived class, gets the item's value as an Int32.
Public property Supported by the XNA Framework ValueAsLong When overridden in a derived class, gets the item's value as an Int64.
Public property Supported by the XNA Framework ValueType When overridden in a derived class, gets the .NET Framework version 2.0 type of the item.
Public property Supported by the XNA Framework XmlType When overridden in a derived class, gets the XmlSchemaType for the item.
Top
  Name Description
Public method Supported by the XNA Framework Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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 XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by the XNA Framework ValueAs(Type) Returns the item's value as the specified type.
Public method Supported by the XNA Framework ValueAs(Type, IXmlNamespaceResolver) When overridden in a derived class, returns the item's value as the type specified using the IXmlNamespaceResolver object specified to resolve namespace prefixes.
Top

An item is either a node or an atomic value.

Notes to Inheritors

When you inherit from the XPathItem class, you must override the following members: IsNode:

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ