Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / XPath / XPathItem.cs / 1 / XPathItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections; using System.Xml.Schema; namespace System.Xml.XPath { ////// Base class for XPathNavigator and XmlAtomicValue. /// public abstract class XPathItem { ////// True if this item is a node, and not an atomic value. /// public abstract bool IsNode { get; } ////// Returns Xsd type of atomic value, or of node's content. /// public abstract XmlSchemaType XmlType { get; } ////// Typed and untyped value accessors. /// public abstract string Value { get; } public abstract object TypedValue { get; } public abstract Type ValueType { get; } public abstract bool ValueAsBoolean { get; } public abstract DateTime ValueAsDateTime { get; } public abstract double ValueAsDouble { get; } public abstract int ValueAsInt { get; } public abstract long ValueAsLong { get; } public virtual object ValueAs(Type returnType) { return ValueAs(returnType, null); } public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections; using System.Xml.Schema; namespace System.Xml.XPath { ////// Base class for XPathNavigator and XmlAtomicValue. /// public abstract class XPathItem { ////// True if this item is a node, and not an atomic value. /// public abstract bool IsNode { get; } ////// Returns Xsd type of atomic value, or of node's content. /// public abstract XmlSchemaType XmlType { get; } ////// Typed and untyped value accessors. /// public abstract string Value { get; } public abstract object TypedValue { get; } public abstract Type ValueType { get; } public abstract bool ValueAsBoolean { get; } public abstract DateTime ValueAsDateTime { get; } public abstract double ValueAsDouble { get; } public abstract int ValueAsInt { get; } public abstract long ValueAsLong { get; } public virtual object ValueAs(Type returnType) { return ValueAs(returnType, null); } public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MsmqIntegrationOutputChannel.cs
- WebControlParameterProxy.cs
- PenContext.cs
- DateTimeUtil.cs
- XmlSchemas.cs
- AtomContentProperty.cs
- PointAnimationUsingPath.cs
- DataRowCollection.cs
- QueryAsyncResult.cs
- DataSourceXmlTextReader.cs
- Membership.cs
- IndexOutOfRangeException.cs
- ActivityPreviewDesigner.cs
- UserControlParser.cs
- TriggerCollection.cs
- ListViewContainer.cs
- XPathSingletonIterator.cs
- SspiSafeHandles.cs
- SoapInteropTypes.cs
- DBCommand.cs
- MetricEntry.cs
- FormViewDeletedEventArgs.cs
- GlobalizationSection.cs
- WebRequestModuleElement.cs
- Merger.cs
- xdrvalidator.cs
- SiteMapDataSourceView.cs
- CheckBoxAutomationPeer.cs
- ElementHostAutomationPeer.cs
- DynamicPropertyHolder.cs
- LocatorPartList.cs
- ValidationErrorCollection.cs
- ReachFixedPageSerializerAsync.cs
- TextRange.cs
- Underline.cs
- CacheDependency.cs
- DefaultDiscoveryService.cs
- XPathBinder.cs
- DictionaryBase.cs
- figurelength.cs
- CacheOutputQuery.cs
- PagesChangedEventArgs.cs
- AspNetHostingPermission.cs
- ConstraintCollection.cs
- MruCache.cs
- SpellerStatusTable.cs
- SchemaTypeEmitter.cs
- SByteStorage.cs
- QilLiteral.cs
- mediapermission.cs
- PersonalizationStateInfo.cs
- _RequestCacheProtocol.cs
- PopupControlService.cs
- PropertyTabAttribute.cs
- NetworkCredential.cs
- KnownColorTable.cs
- KeyGestureConverter.cs
- DnsPermission.cs
- SyntaxCheck.cs
- PageSetupDialog.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- BufferBuilder.cs
- SemanticAnalyzer.cs
- translator.cs
- COM2TypeInfoProcessor.cs
- CryptoKeySecurity.cs
- CompositeFontParser.cs
- FillRuleValidation.cs
- Html32TextWriter.cs
- UdpDiscoveryEndpointProvider.cs
- GroupBox.cs
- XmlSchemaGroup.cs
- XhtmlBasicPanelAdapter.cs
- ACE.cs
- Utility.cs
- UniqueIdentifierService.cs
- PagedDataSource.cs
- ApplicationContext.cs
- SqlClientFactory.cs
- RelatedView.cs
- InvalidCommandTreeException.cs
- DesignerCalendarAdapter.cs
- RowCache.cs
- ClassImporter.cs
- CalendarSelectionChangedEventArgs.cs
- FileCodeGroup.cs
- Exception.cs
- RijndaelManaged.cs
- XmlSchemaExternal.cs
- SendKeys.cs
- SqlWebEventProvider.cs
- BasicExpandProvider.cs
- TextTreeDeleteContentUndoUnit.cs
- LineInfo.cs
- EntityProviderFactory.cs
- TableLayoutPanelCodeDomSerializer.cs
- XsdValidatingReader.cs
- LinkArea.cs
- FrameworkContentElementAutomationPeer.cs
- HttpDictionary.cs