XPathAtomicValue ClassXPathAtomicValue ClassXPathAtomicValue Class

Represents an atomic value in the XQuery 1.0 and XPath 2.0 Data Model (XDM).

Inheritance Hierarchy

Syntax

Public MustInherit Class XPathAtomicValue _
        Inherits System.Xml.XPath.XPathItem
public abstract class XPathAtomicValue : System.Xml.XPath.XPathItem
public:
ref class XPathAtomicValue abstract : System.Xml.XPath::XPathItem^
 
The XPathAtomicValueXPathAtomicValueXPathAtomicValue type exposes the following members.

Properties

 PropertyDescription
Public propertyIsNodeIsNodeIsNode Gets a value indicating whether the item represents a node or an atomic value. (Overrides XPathItem.IsNodeXPathItem.IsNodeXPathItem::IsNode)
Public propertyXPathItem.TypedValueXPathItem.TypedValueXPathItem::TypedValueWhen 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.(Inherited from System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem)
Public propertyValueValueValue Gets the string value of the item. (Overrides XPathItem.ValueXPathItem.ValueXPathItem::Value)
Public propertyValueAsBase64BinaryValueAsBase64BinaryValueAsBase64Binary Gets the item's value as a Base64BinaryBase64BinaryBase64Binary instance.
Public propertyValueAsBooleanValueAsBooleanValueAsBoolean Gets the item's value as a boolBooleanbool. (Overrides XPathItem.ValueAsBooleanXPathItem.ValueAsBooleanXPathItem::ValueAsBoolean)
Public propertyValueAsByteValueAsByteValueAsByte Gets the item's value as a byteBytebyte.
Public propertyValueAsBytesValueAsBytesValueAsBytes Gets the item's value as a byteBytebyte array.
Public propertyValueAsDateTimeValueAsDateTimeValueAsDateTime When overridden in a derived class, gets the item's value as a DateTimeDateDateTime. (Overrides XPathItem.ValueAsDateTimeXPathItem.ValueAsDateTimeXPathItem::ValueAsDateTime)
Public propertyValueAsDateTimeWithZoneValueAsDateTimeWithZoneValueAsDateTimeWithZone Gets the item's value as a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public propertyValueAsDateWithZoneValueAsDateWithZoneValueAsDateWithZone Gets the item's value as a DateWithZoneDateWithZoneDateWithZone.
Public propertyValueAsDayTimeDurationValueAsDayTimeDurationValueAsDayTimeDuration Gets the item's value as a DayTimeDurationDayTimeDurationDayTimeDuration.
Public propertyValueAsDecimalValueAsDecimalValueAsDecimal Gets the item's value as a decimalDecimaldecimal.
Public propertyValueAsDoubleValueAsDoubleValueAsDouble Gets the item's value as a doubleDoubledouble. (Overrides XPathItem.ValueAsDoubleXPathItem.ValueAsDoubleXPathItem::ValueAsDouble)
Public propertyValueAsDurationValueAsDurationValueAsDuration Gets the item's value as a DurationDurationDuration. Gets the item's value as a decimalDecimaldecimal.
Public propertyValueAsGDayValueAsGDayValueAsGDay Gets the item's value as a GDayGDayGDay. Gets the item's value as a decimalDecimaldecimal.
Public propertyValueAsGMonthValueAsGMonthValueAsGMonth Gets the item's value as a GMonthGMonthGMonth.
Public propertyValueAsGMonthDayValueAsGMonthDayValueAsGMonthDay Gets the item's value as a GMonthDayGMonthDayGMonthDay.
Public propertyValueAsGYearValueAsGYearValueAsGYear Gets the item's value as a GYearGYearGYear.
Public propertyValueAsGYearMonthValueAsGYearMonthValueAsGYearMonth Gets the item's value as a GYearMonthGYearMonthGYearMonth.
Public propertyValueAsHexBinaryValueAsHexBinaryValueAsHexBinary Gets the item's value as a HexBinaryHexBinaryHexBinary instance.
Public propertyValueAsIntValueAsIntValueAsInt Gets the item's value as an intIntegerint. (Overrides XPathItem.ValueAsIntXPathItem.ValueAsIntXPathItem::ValueAsInt)
Public propertyValueAsInt16ValueAsInt16ValueAsInt16 Gets the item's value as an shortShortshort.
Public propertyValueAsLongValueAsLongValueAsLong Gets the item's value as an longLonglong. (Overrides XPathItem.ValueAsLongXPathItem.ValueAsLongXPathItem::ValueAsLong)
Public propertyValueAsQNameValueAsQNameValueAsQName Gets the item's value as a QNameQNameQName.
Public propertyValueAsSingleValueAsSingleValueAsSingle Gets the item's value as a floatSinglefloat.
Public propertyValueAsStringValueAsStringValueAsString Gets the item's value as a stringStringString.
Public propertyValueAsTimeWithZoneValueAsTimeWithZoneValueAsTimeWithZone Gets the item's value as a TimeWithZoneTimeWithZoneTimeWithZone.
Public propertyValueAsYearMonthDurationValueAsYearMonthDurationValueAsYearMonthDuration Gets the item's value as a YearMonthDurationYearMonthDurationYearMonthDuration.
Public propertyXPathItem.ValueTypeXPathItem.ValueTypeXPathItem::ValueTypeWhen overridden in a derived class, gets the .NET Framework 2.0 type of the item.(Inherited from System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem)
Public propertyXPathItem.XmlTypeXPathItem.XmlTypeXPathItem::XmlTypeWhen overridden in a derived class, gets the XmlSchemaTypeXmlSchemaTypeXmlSchemaType for the item.(Inherited from System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem)

Top

Methods

 MethodDescription
Public methodstaticCreate (bool)Create (Boolean)Create (bool) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a boolBooleanbool value.
Public methodstaticCreate (byte)Create (Byte)Create (byte) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a byteBytebyte value.
Public methodstaticCreate (decimal)Create (Decimal)Create (decimal) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a decimalDecimaldecimal value.
Public methodstaticCreate (double)Create (Double)Create (double) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a doubleDoubledouble value.
Public methodstaticCreate (short)Create (Short)Create (short) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a shortShortshort value.
Public methodstaticCreate (int)Create (Integer)Create (int) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an intIntegerint value.
Public methodstaticCreate (long)Create (Long)Create (long) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a longLonglong value.
Public methodstaticCreate (sbyte)Create (SByte)Create (sbyte) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a sbyteSBytesbyte value.
Public methodstaticCreate (float)Create (Single)Create (float) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a floatSinglefloat value.
Public methodstaticCreate (string)Create (String)Create (String^) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a stringStringString value.
Public methodstaticCreate (ushort)Create (UShort)Create (ushort) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an ushortUShortushort value.
Public methodstaticCreate (uint)Create (UInteger)Create (uint) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an uintUIntegeruint value.
Public methodstaticCreate (ulong)Create (ULong)Create (ulong) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an ulongULongulong value.
Public methodstaticCreate (XmlQualifiedName)Create (XmlQualifiedName)Create (XmlQualifiedName^) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a XmlQualifiedNameXmlQualifiedNameXmlQualifiedName value.
Public methodstaticCreate (AnyUri)Create (AnyUri)Create (AnyUri^) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an AnyUriAnyUriAnyUri value.
Public methodstaticCreate (DateTimeWithZone)Create (DateTimeWithZone)Create (DateTimeWithZone) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone value.
Public methodstaticCreate (DateWithZone)Create (DateWithZone)Create (DateWithZone) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a DateWithZoneDateWithZoneDateWithZone value.
Public methodstaticCreate (DayTimeDuration)Create (DayTimeDuration)Create (DayTimeDuration) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a DayTimeDurationDayTimeDurationDayTimeDuration value.
Public methodstaticCreate (Duration)Create (Duration)Create (Duration) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a DurationDurationDuration value.
Public methodstaticCreate (GDay)Create (GDay)Create (GDay) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a GDayGDayGDay value.
Public methodstaticCreate (GMonth)Create (GMonth)Create (GMonth) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a GMonthGMonthGMonth value.
Public methodstaticCreate (GMonthDay)Create (GMonthDay)Create (GMonthDay) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a GMonthDayGMonthDayGMonthDay value.
Public methodstaticCreate (GYear)Create (GYear)Create (GYear) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a GYearGYearGYear value.
Public methodstaticCreate (GYearMonth)Create (GYearMonth)Create (GYearMonth) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a GYearMonthGYearMonthGYearMonth value.
Public methodstaticCreate (TimeWithZone)Create (TimeWithZone)Create (TimeWithZone) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a TimeWithZoneTimeWithZoneTimeWithZone value.
Public methodstaticCreate (YearMonthDuration)Create (YearMonthDuration)Create (YearMonthDuration) Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a YearMonthDurationYearMonthDurationYearMonthDuration value.
Public methodstaticCreateAnyUriCreateAnyUriCreateAnyUri Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a stringStringString value.
Public methodstaticCreateBase64BinaryCreateBase64BinaryCreateBase64Binary Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an array of byteBytebyte values.
Public methodstaticCreateHexBinaryCreateHexBinaryCreateHexBinary Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from an array of byteBytebyte values.
Public methodstaticCreateIntegerCreateIntegerCreateInteger Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a decimalDecimaldecimal value.
Public methodstaticCreateUntypedAtomicCreateUntypedAtomicCreateUntypedAtomic Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class from a stringStringString value.
Public methodstaticDataDataData Returns the typed value of the specified navigator.
Public methodDeepEquals (XPathAtomicValue)DeepEquals (XPathAtomicValue)DeepEquals (XPathAtomicValue^) Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is deep-equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the codepoint collation and the current time zone.
Public methodDeepEquals (XPathAtomicValue, Collation, TimeZone)DeepEquals (XPathAtomicValue, Collation, TimeZone)DeepEquals (XPathAtomicValue^, Collation^, TimeZone) Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is deep-equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the specified collation and implicit time zone.
Public methodEffectiveBooleanValueEffectiveBooleanValueEffectiveBooleanValue Returns the effective boolean value of this item.
Public methodEffectiveNumericValueEffectiveNumericValueEffectiveNumericValue Returns the effective numeric value of this item.
Public methodEquals (object)Equals (Object)Equals (object^) Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Overrides Object.EqualsObject.EqualsObject::Equals)
Public methodEquals (XPathAtomicValue)Equals (XPathAtomicValue)Equals (XPathAtomicValue^) Determines whether the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue is equal to the current XPathAtomicValueXPathAtomicValueXPathAtomicValue.
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetHashCodeGetHashCodeGetHashCode Serves as a hash code for a particular type. (Overrides Object.GetHashCodeObject.GetHashCodeObject::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodToCanonicalStringToCanonicalStringToCanonicalString Returns a stringStringString that represents the current XPathAtomicValueXPathAtomicValueXPathAtomicValue in its canonical form.
Public methodToStringToStringToString Returns a stringStringString that represents the current XPathAtomicValueXPathAtomicValueXPathAtomicValue. (Overrides Object.ToStringObject.ToStringObject::ToString)
Public methodValueAs (Type, IXmlNamespaceResolver)ValueAs (Type, IXmlNamespaceResolver)ValueAs (Type^, IXmlNamespaceResolver^) Returns the item's value as the type specified using the IXmlNamespaceResolverIXmlNamespaceResolverIXmlNamespaceResolver object specified to resolve namespace prefixes. (Overrides XPathItem.ValueAsXPathItem.ValueAsXPathItem::ValueAs)
Public methodXPathItem.ValueAsXPathItem.ValueAsXPathItem::ValueAsReturns the item's value as the specified type.(Inherited from System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem)
Public methodValueEquals (XPathAtomicValue)ValueEquals (XPathAtomicValue)ValueEquals (XPathAtomicValue^) Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the codepoint collation and the current time zone.
Public methodValueEquals (XPathAtomicValue, Collation, TimeZone)ValueEquals (XPathAtomicValue, Collation, TimeZone)ValueEquals (XPathAtomicValue^, Collation^, TimeZone) Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the specified collation and implicit time zone.

Top

Remarks

An atomic value is equivalent to a singleton sequence containing that item.

Note that the CLR types used to represent atomic values in XmlPrime do not correspond exactly to those used in the System.XmlSystem.XmlSystem.Xml classes. For more information on the types used to represent atomic values in XmlPrime, see Mapping Atomic Types to CLR Types.