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: 0x02000101 RID: 257 [Token(Token = "0x2000101")] public abstract class XPathItem { /// When overridden in a derived class, gets the for the item. /// The for the item. // Token: 0x1700032F RID: 815 // (get) Token: 0x06000C3F RID: 3135 [Token(Token = "0x1700032F")] public abstract XmlSchemaType XmlType { [Token(Token = "0x6000C3F")] [Address(Slot = "4")] get; } /// When overridden in a derived class, gets the value of the item. /// The value of the item. // Token: 0x17000330 RID: 816 // (get) Token: 0x06000C40 RID: 3136 [Token(Token = "0x17000330")] public abstract string Value { [Token(Token = "0x6000C40")] [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: 0x17000331 RID: 817 // (get) Token: 0x06000C41 RID: 3137 [Token(Token = "0x17000331")] public abstract object TypedValue { [Token(Token = "0x6000C41")] [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: 0x17000332 RID: 818 // (get) Token: 0x06000C42 RID: 3138 [Token(Token = "0x17000332")] public abstract Type ValueType { [Token(Token = "0x6000C42")] [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: 0x17000333 RID: 819 // (get) Token: 0x06000C43 RID: 3139 [Token(Token = "0x17000333")] public abstract bool ValueAsBoolean { [Token(Token = "0x6000C43")] [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: 0x17000334 RID: 820 // (get) Token: 0x06000C44 RID: 3140 [Token(Token = "0x17000334")] public abstract DateTime ValueAsDateTime { [Token(Token = "0x6000C44")] [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: 0x17000335 RID: 821 // (get) Token: 0x06000C45 RID: 3141 [Token(Token = "0x17000335")] public abstract double ValueAsDouble { [Token(Token = "0x6000C45")] [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: 0x17000336 RID: 822 // (get) Token: 0x06000C46 RID: 3142 [Token(Token = "0x17000336")] public abstract int ValueAsInt { [Token(Token = "0x6000C46")] [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: 0x17000337 RID: 823 // (get) Token: 0x06000C47 RID: 3143 [Token(Token = "0x17000337")] public abstract long ValueAsLong { [Token(Token = "0x6000C47")] [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: 0x06000C48 RID: 3144 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C48")] [Address(RVA = "0x679770", Offset = "0x678770", VA = "0x180679770", 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: 0x06000C49 RID: 3145 [Token(Token = "0x6000C49")] [Address(Slot = "14")] public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver); /// Initializes a new instance of the class. // Token: 0x06000C4A RID: 3146 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C4A")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected XPathItem() { } } }