using System;
using System.Xml.Schema;
using Cpp2IlInjected;
namespace System.Xml.XPath
{
/// Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.
// Token: 0x02000087 RID: 135
[Token(Token = "0x2000087")]
public abstract class XPathItem
{
/// When overridden in a derived class, gets the for the item.
/// The for the item.
// Token: 0x170001BE RID: 446
// (get) Token: 0x0600055E RID: 1374
[Token(Token = "0x170001BE")]
public abstract XmlSchemaType XmlType
{
[Token(Token = "0x600055E")]
[Address(Slot = "4")]
get;
}
/// When overridden in a derived class, gets the value of the item.
/// The value of the item.
// Token: 0x170001BF RID: 447
// (get) Token: 0x0600055F RID: 1375
[Token(Token = "0x170001BF")]
public abstract string Value
{
[Token(Token = "0x600055F")]
[Address(Slot = "5")]
get;
}
/// 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.
/// The current item as a boxed object of the most appropriate .NET Framework type.
// Token: 0x170001C0 RID: 448
// (get) Token: 0x06000560 RID: 1376
[Token(Token = "0x170001C0")]
public abstract object TypedValue
{
[Token(Token = "0x6000560")]
[Address(Slot = "6")]
get;
}
/// When overridden in a derived class, gets the .NET Framework 2.0 type of the item.
/// The .NET Framework type of the item. The default value is .
// Token: 0x170001C1 RID: 449
// (get) Token: 0x06000561 RID: 1377
[Token(Token = "0x170001C1")]
public abstract Type ValueType
{
[Token(Token = "0x6000561")]
[Address(Slot = "7")]
get;
}
/// When overridden in a derived class, gets the item's value as a .
/// The item's value as a .
/// The item's value is not in the correct format for the type.
/// The attempted cast to is not valid.
// Token: 0x170001C2 RID: 450
// (get) Token: 0x06000562 RID: 1378
[Token(Token = "0x170001C2")]
public abstract bool ValueAsBoolean
{
[Token(Token = "0x6000562")]
[Address(Slot = "8")]
get;
}
/// When overridden in a derived class, gets the item's value as a .
/// The item's value as a .
/// The item's value is not in the correct format for the type.
/// The attempted cast to is not valid.
// Token: 0x170001C3 RID: 451
// (get) Token: 0x06000563 RID: 1379
[Token(Token = "0x170001C3")]
public abstract DateTime ValueAsDateTime
{
[Token(Token = "0x6000563")]
[Address(Slot = "9")]
get;
}
/// When overridden in a derived class, gets the item's value as a .
/// The item's value as a .
/// The item's value is not in the correct format for the type.
/// The attempted cast to is not valid.
/// The attempted cast resulted in an overflow.
// Token: 0x170001C4 RID: 452
// (get) Token: 0x06000564 RID: 1380
[Token(Token = "0x170001C4")]
public abstract double ValueAsDouble
{
[Token(Token = "0x6000564")]
[Address(Slot = "10")]
get;
}
/// When overridden in a derived class, gets the item's value as an .
/// The item's value as an .
/// The item's value is not in the correct format for the type.
/// The attempted cast to is not valid.
/// The attempted cast resulted in an overflow.
// Token: 0x170001C5 RID: 453
// (get) Token: 0x06000565 RID: 1381
[Token(Token = "0x170001C5")]
public abstract int ValueAsInt
{
[Token(Token = "0x6000565")]
[Address(Slot = "11")]
get;
}
/// When overridden in a derived class, gets the item's value as an .
/// The item's value as an .
/// The item's value is not in the correct format for the type.
/// The attempted cast to is not valid.
/// The attempted cast resulted in an overflow.
// Token: 0x170001C6 RID: 454
// (get) Token: 0x06000566 RID: 1382
[Token(Token = "0x170001C6")]
public abstract long ValueAsLong
{
[Token(Token = "0x6000566")]
[Address(Slot = "12")]
get;
}
/// Returns the item's value as the specified type.
/// The type to return the item value as.
/// The value of the item as the type requested.
/// The item's value is not in the correct format for the target type.
/// The attempted cast is not valid.
/// The attempted cast resulted in an overflow.
// Token: 0x06000567 RID: 1383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000567")]
[Address(RVA = "0x45D960", Offset = "0x45C760", VA = "0x18045D960", Slot = "13")]
public virtual object ValueAs(Type returnType)
{
return null;
}
/// When overridden in a derived class, returns the item's value as the type specified using the object specified to resolve namespace prefixes.
/// The type to return the item's value as.
/// The object used to resolve namespace prefixes.
/// The value of the item as the type requested.
/// The item's value is not in the correct format for the target type.
/// The attempted cast is not valid.
/// The attempted cast resulted in an overflow.
// Token: 0x06000568 RID: 1384
[Token(Token = "0x6000568")]
[Address(Slot = "14")]
public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver);
/// Initializes a new instance of the class.
// Token: 0x06000569 RID: 1385 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000569")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected XPathItem()
{
}
}
}