XmlAtomicValue Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the typed value of a validated XML element or attribute. The XmlAtomicValue class cannot be inherited.
public ref class XmlAtomicValue sealed : System::Xml::XPath::XPathItem, ICloneable
public sealed class XmlAtomicValue : System.Xml.XPath.XPathItem, ICloneable
type XmlAtomicValue = class
inherit XPathItem
interface ICloneable
Public NotInheritable Class XmlAtomicValue
Inherits XPathItem
Implements ICloneable
- Inheritance
- Implements
Properties
IsNode |
Gets a value indicating whether the validated XML element or attribute is an XPath node or an atomic value. |
TypedValue |
Gets the current validated XML element or attribute as a boxed object of the most appropriate .NET type according to its schema type. |
Value |
Gets the |
ValueAsBoolean |
Gets the validated XML element or attribute's value as a Boolean. |
ValueAsDateTime |
Gets the validated XML element or attribute's value as a DateTime. |
ValueAsDouble |
Gets the validated XML element or attribute's value as a Double. |
ValueAsInt |
Gets the validated XML element or attribute's value as an Int32. |
ValueAsLong |
Gets the validated XML element or attribute's value as an Int64. |
ValueType |
Gets the .NET type of the validated XML element or attribute. |
XmlType |
Gets the XmlSchemaType for the validated XML element or attribute. |
Methods
Clone() |
Returns a copy of this XmlAtomicValue object. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Gets the |
ValueAs(Type) |
Returns the item's value as the specified type. (Inherited from XPathItem) |
ValueAs(Type, IXmlNamespaceResolver) |
Returns the validated XML element or attribute's value as the type specified using the IXmlNamespaceResolver object specified to resolve namespace prefixes. |
Explicit Interface Implementations
ICloneable.Clone() |
For a description of this member, see Clone(). |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기