Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Dom / XmlImplementation.cs / 1305376 / XmlImplementation.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System.Globalization; namespace System.Xml { // Provides methods for performing operations that are independent of any // particular instance of the document object model. public class XmlImplementation { private XmlNameTable nameTable; // Initializes a new instance of the XmlImplementation class. public XmlImplementation() : this( new NameTable() ) { } public XmlImplementation( XmlNameTable nt ) { nameTable = nt; } // Test if the DOM implementation implements a specific feature. public bool HasFeature(string strFeature, string strVersion) { if (String.Compare("XML", strFeature, StringComparison.OrdinalIgnoreCase) == 0) { if (strVersion == null || strVersion == "1.0" || strVersion == "2.0") return true; } return false; } // Creates a new XmlDocument. All documents created from the same // XmlImplementation object share the same name table. public virtual XmlDocument CreateDocument() { return new XmlDocument( this ); } internal XmlNameTable NameTable { get { return nameTable; } } } } // 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
- RangeBase.cs
- WebPartHelpVerb.cs
- CryptoApi.cs
- ShellProvider.cs
- HebrewNumber.cs
- BuildProvidersCompiler.cs
- PersianCalendar.cs
- DWriteFactory.cs
- dataprotectionpermission.cs
- TextBlock.cs
- querybuilder.cs
- FilteredDataSetHelper.cs
- Mapping.cs
- ProvidePropertyAttribute.cs
- EntityObject.cs
- SmtpSection.cs
- InputBuffer.cs
- PlaceHolder.cs
- StylusPointPropertyInfo.cs
- DataGridColumnHeadersPresenter.cs
- Boolean.cs
- Configuration.cs
- XsdDateTime.cs
- ToolStripItemClickedEventArgs.cs
- GridViewRowEventArgs.cs
- ProgressBarAutomationPeer.cs
- SafeEventHandle.cs
- WebEvents.cs
- CodeTypeReferenceSerializer.cs
- ButtonBaseAutomationPeer.cs
- BitmapDownload.cs
- SubstitutionDesigner.cs
- AttributeProviderAttribute.cs
- XmlLoader.cs
- String.cs
- CachedTypeface.cs
- LocalClientSecuritySettingsElement.cs
- AppDomainResourcePerfCounters.cs
- DataSourceSelectArguments.cs
- IdentityManager.cs
- UpdateRecord.cs
- Socket.cs
- SigningProgress.cs
- TreeIterators.cs
- DataGridSortingEventArgs.cs
- EntityDescriptor.cs
- CompileLiteralTextParser.cs
- WinEventWrap.cs
- ReturnType.cs
- ZipFileInfo.cs
- MdImport.cs
- MulticastOption.cs
- GenericPrincipal.cs
- RuntimeConfig.cs
- PreviewPrintController.cs
- XmlSchemaSimpleContentRestriction.cs
- CodeCommentStatementCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- IssuanceTokenProviderState.cs
- TypeExtensionConverter.cs
- DataTemplate.cs
- TcpStreams.cs
- RegexCompiler.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- OpenCollectionAsyncResult.cs
- ImageButton.cs
- SmtpException.cs
- SoapExtensionTypeElement.cs
- ReturnEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- AssertSection.cs
- SignerInfo.cs
- SecureEnvironment.cs
- SubpageParaClient.cs
- InfoCardBaseException.cs
- WebBrowser.cs
- ExceptionRoutedEventArgs.cs
- GeneralTransform3DGroup.cs
- ExtenderHelpers.cs
- PersonalizableTypeEntry.cs
- DataBindingExpressionBuilder.cs
- ListViewUpdatedEventArgs.cs
- AuthenticationException.cs
- HwndTarget.cs
- SqlBuilder.cs
- SqlColumnizer.cs
- Simplifier.cs
- PersonalizationState.cs
- ObjectQuery_EntitySqlExtensions.cs
- AssemblyFilter.cs
- PerfCounterSection.cs
- FixedHighlight.cs
- COM2ExtendedUITypeEditor.cs
- PathFigureCollectionConverter.cs
- CompilationUtil.cs
- WebServiceHandler.cs
- Point4DConverter.cs
- HitTestResult.cs
- DataGrid.cs
- BindingGroup.cs