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
- LongMinMaxAggregationOperator.cs
- TimeIntervalCollection.cs
- Literal.cs
- EqualityComparer.cs
- PieceNameHelper.cs
- ResourceDefaultValueAttribute.cs
- ADConnectionHelper.cs
- TableLayoutColumnStyleCollection.cs
- ExtendedPropertyDescriptor.cs
- File.cs
- ClassicBorderDecorator.cs
- ObjectSet.cs
- MetadataArtifactLoaderResource.cs
- XdrBuilder.cs
- SystemNetworkInterface.cs
- DbExpressionVisitor.cs
- HybridDictionary.cs
- Encoding.cs
- Type.cs
- Types.cs
- XMLDiffLoader.cs
- InOutArgumentConverter.cs
- WSTrustDec2005.cs
- InfiniteTimeSpanConverter.cs
- GeneralTransform3D.cs
- ObjectDataSourceWizardForm.cs
- ToolTipService.cs
- OracleDataAdapter.cs
- AmbientValueAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- ObjectStorage.cs
- Attributes.cs
- CreateParams.cs
- TraceContext.cs
- XPathNavigator.cs
- LinearGradientBrush.cs
- QueuePathDialog.cs
- GrammarBuilderPhrase.cs
- ReturnEventArgs.cs
- UpdateRecord.cs
- InkPresenterAutomationPeer.cs
- _ConnectOverlappedAsyncResult.cs
- FileDialogCustomPlaces.cs
- Parameter.cs
- GroupItem.cs
- HashCodeCombiner.cs
- ZoomingMessageFilter.cs
- ListViewPagedDataSource.cs
- ExpressionBuilder.cs
- ListViewDeleteEventArgs.cs
- DataColumn.cs
- DataGridViewCellFormattingEventArgs.cs
- StandardCommands.cs
- ReadOnlyDataSource.cs
- PeerHopCountAttribute.cs
- SiteMapDataSource.cs
- OutputCacheProviderCollection.cs
- ToggleButtonAutomationPeer.cs
- FieldAccessException.cs
- BitmapPalette.cs
- OutputCacheProfile.cs
- TableLayoutRowStyleCollection.cs
- Model3D.cs
- EmissiveMaterial.cs
- DocumentOutline.cs
- HtmlFormWrapper.cs
- CustomValidator.cs
- SqlConnectionManager.cs
- TableSectionStyle.cs
- ContentElement.cs
- FontInfo.cs
- CollectionConverter.cs
- RoleGroupCollection.cs
- PrimitiveType.cs
- FlowLayoutSettings.cs
- HtmlInputRadioButton.cs
- MemoryFailPoint.cs
- TypeForwardedToAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- Action.cs
- Section.cs
- DiscoveryClientDocuments.cs
- LinqDataSourceDisposeEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- HttpResponse.cs
- GuidConverter.cs
- DataViewListener.cs
- StrongName.cs
- SingleTagSectionHandler.cs
- UriSectionReader.cs
- TableLayout.cs
- CompilationSection.cs
- PolygonHotSpot.cs
- ThemeableAttribute.cs
- XmlException.cs
- HttpCachePolicyElement.cs
- TagMapInfo.cs
- FlowDocumentView.cs
- LogAppendAsyncResult.cs
- MeasureData.cs