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

NameDescription
System_CAPS_protmethodXPathItem()

Initializes a new instance of the XPathItem class.

NameDescription
System_CAPS_pubpropertyIsNode

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

System_CAPS_pubpropertyTypedValue

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.

System_CAPS_pubpropertyValue

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

System_CAPS_pubpropertyValueAsBoolean

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

System_CAPS_pubpropertyValueAsDateTime

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

System_CAPS_pubpropertyValueAsDouble

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

System_CAPS_pubpropertyValueAsInt

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

System_CAPS_pubpropertyValueAsLong

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

System_CAPS_pubpropertyValueType

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

System_CAPS_pubpropertyXmlType

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValueAs(Type)

Returns the item's value as the specified type.

System_CAPS_pubmethodValueAs(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.

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
Available since 2.0
Silverlight
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: