Export (0) Print
Expand All

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.

  NameDescription
Protected methodSupported by the XNA FrameworkXPathItemInitializes a new instance of the XPathItem class.
Top

  NameDescription
Public propertySupported by the XNA FrameworkIsNodeWhen overridden in a derived class, gets a value indicating whether the item represents an XPath node or an atomic value.
Public propertySupported by the XNA FrameworkTypedValueWhen overridden in a derived class, gets the current item as a boxed object of the most appropriate .NET Framework 2.0 type according to its schema type.
Public propertySupported by the XNA FrameworkValueWhen overridden in a derived class, gets the string value of the item.
Public propertySupported by the XNA FrameworkValueAsBooleanWhen overridden in a derived class, gets the item's value as a Boolean.
Public propertySupported by the XNA FrameworkValueAsDateTimeWhen overridden in a derived class, gets the item's value as a DateTime.
Public propertySupported by the XNA FrameworkValueAsDoubleWhen overridden in a derived class, gets the item's value as a Double.
Public propertySupported by the XNA FrameworkValueAsIntWhen overridden in a derived class, gets the item's value as an Int32.
Public propertySupported by the XNA FrameworkValueAsLongWhen overridden in a derived class, gets the item's value as an Int64.
Public propertySupported by the XNA FrameworkValueTypeWhen overridden in a derived class, gets the .NET Framework 2.0 type of the item.
Public propertySupported by the XNA FrameworkXmlTypeWhen overridden in a derived class, gets the XmlSchemaType for the item.
Top

  NameDescription
Public methodSupported by the XNA FrameworkEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkValueAs(Type)Returns the item's value as the specified type.
Public methodSupported by the XNA FrameworkValueAs(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.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft