XPathItem XPathItem XPathItem XPathItem Class

Definition

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

public ref class XPathItem abstract
public abstract class XPathItem
type XPathItem = class
Public MustInherit Class XPathItem
Inheritance
XPathItemXPathItemXPathItemXPathItem
Derived

Remarks

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:

Constructors

XPathItem() XPathItem() XPathItem() XPathItem()

Initializes a new instance of the XPathItem class.

Properties

IsNode IsNode IsNode IsNode

When overridden in a derived class, gets a value indicating whether the item represents an XPath node or an atomic value.

TypedValue TypedValue TypedValue TypedValue

When 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.

Value Value Value Value

When overridden in a derived class, gets the string value of the item.

ValueAsBoolean ValueAsBoolean ValueAsBoolean ValueAsBoolean

When overridden in a derived class, gets the item's value as a Boolean.

ValueAsDateTime ValueAsDateTime ValueAsDateTime ValueAsDateTime

When overridden in a derived class, gets the item's value as a DateTime.

ValueAsDouble ValueAsDouble ValueAsDouble ValueAsDouble

When overridden in a derived class, gets the item's value as a Double.

ValueAsInt ValueAsInt ValueAsInt ValueAsInt

When overridden in a derived class, gets the item's value as an Int32.

ValueAsLong ValueAsLong ValueAsLong ValueAsLong

When overridden in a derived class, gets the item's value as an Int64.

ValueType ValueType ValueType ValueType

When overridden in a derived class, gets the .NET Framework 2.0 type of the item.

XmlType XmlType XmlType XmlType

When overridden in a derived class, gets the XmlSchemaType for the item.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValueAs(Type) ValueAs(Type) ValueAs(Type) ValueAs(Type)

Returns the item's value as the specified type.

ValueAs(Type, IXmlNamespaceResolver) ValueAs(Type, IXmlNamespaceResolver) ValueAs(Type, IXmlNamespaceResolver) 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.

Applies to