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
- Pen.cs
- Transactions.cs
- CredentialCache.cs
- ButtonChrome.cs
- DataGridToolTip.cs
- MethodRental.cs
- PeerNode.cs
- SerializerProvider.cs
- DriveNotFoundException.cs
- XslNumber.cs
- DataGridViewLayoutData.cs
- SlotInfo.cs
- CryptoHandle.cs
- DeferredSelectedIndexReference.cs
- DebugView.cs
- COM2Enum.cs
- PerformanceCountersElement.cs
- XamlSerializerUtil.cs
- DataControlField.cs
- StringAnimationUsingKeyFrames.cs
- NumericPagerField.cs
- DefaultEventAttribute.cs
- PluralizationService.cs
- PiiTraceSource.cs
- SafeNativeMethodsCLR.cs
- KnownAssembliesSet.cs
- BaseParser.cs
- InvokeBinder.cs
- SamlDoNotCacheCondition.cs
- DataSourceSelectArguments.cs
- HttpResponseWrapper.cs
- DescendentsWalker.cs
- AuthenticationManager.cs
- UnicodeEncoding.cs
- DetailsViewUpdatedEventArgs.cs
- XsdDuration.cs
- DebugView.cs
- ViewEvent.cs
- ThumbAutomationPeer.cs
- HandlerMappingMemo.cs
- StackBuilderSink.cs
- OperationCanceledException.cs
- DataBoundControlHelper.cs
- Validator.cs
- RequestCacheManager.cs
- SQLBinary.cs
- CodeEntryPointMethod.cs
- FrameDimension.cs
- ToolStripItemClickedEventArgs.cs
- ConnectionsZone.cs
- PropertyKey.cs
- RectangleF.cs
- ErrorFormatterPage.cs
- FixedSOMContainer.cs
- PriorityRange.cs
- RemotingConfiguration.cs
- CompareInfo.cs
- Serializer.cs
- JsonQNameDataContract.cs
- ReadOnlyObservableCollection.cs
- RtType.cs
- RegionData.cs
- AttributeProviderAttribute.cs
- WindowsGraphicsWrapper.cs
- ColumnCollection.cs
- SourceInterpreter.cs
- ItemPager.cs
- ILGenerator.cs
- FrameworkContextData.cs
- VerificationAttribute.cs
- ControlIdConverter.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- NameTable.cs
- SetUserLanguageRequest.cs
- CryptoApi.cs
- UrlAuthFailedErrorFormatter.cs
- Reference.cs
- DeleteStoreRequest.cs
- TypeGeneratedEventArgs.cs
- Helpers.cs
- EntityCommandExecutionException.cs
- ImageMapEventArgs.cs
- CatalogPart.cs
- SharedStatics.cs
- SymLanguageType.cs
- TraceEventCache.cs
- Int32.cs
- RouteItem.cs
- ToolStripOverflow.cs
- HandlerWithFactory.cs
- CfgArc.cs
- Rectangle.cs
- UserControlDesigner.cs
- TransactionValidationBehavior.cs
- HorizontalAlignConverter.cs
- ArrayExtension.cs
- ProtocolsConfigurationEntry.cs
- CapabilitiesAssignment.cs
- EntityChangedParams.cs
- EmbeddedMailObjectsCollection.cs