Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / Dom / XmlComment.cs / 1 / XmlComment.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml { using System.Xml.XPath; using System.Diagnostics; // Represents the content of an XML comment. public class XmlComment: XmlCharacterData { protected internal XmlComment( string comment, XmlDocument doc ): base( comment, doc ) { } // Gets the name of the node. public override String Name { get { return OwnerDocument.strCommentName;} } // Gets the name of the current node without the namespace prefix. public override String LocalName { get { return OwnerDocument.strCommentName;} } // Gets the type of the current node. public override XmlNodeType NodeType { get { return XmlNodeType.Comment;} } // Creates a duplicate of this node. public override XmlNode CloneNode(bool deep) { Debug.Assert( OwnerDocument != null ); return OwnerDocument.CreateComment( Data ); } // Saves the node to the specified XmlWriter. public override void WriteTo(XmlWriter w) { w.WriteComment( Data ); } // Saves all the children of the node to the specified XmlWriter. public override void WriteContentTo(XmlWriter w) { // Intentionally do nothing } internal override XPathNodeType XPNodeType { get { return XPathNodeType.Comment; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizableAttribute.cs
- Transform3D.cs
- IgnoreDataMemberAttribute.cs
- DataStreams.cs
- ColorConvertedBitmap.cs
- ToolStripDropTargetManager.cs
- DataGridViewTopLeftHeaderCell.cs
- GridViewEditEventArgs.cs
- ConfigXmlComment.cs
- RefreshPropertiesAttribute.cs
- RelationshipType.cs
- LambdaCompiler.Expressions.cs
- Size3DValueSerializer.cs
- TextServicesHost.cs
- DataGridViewColumnCollection.cs
- FormsAuthenticationConfiguration.cs
- _SecureChannel.cs
- OrderedHashRepartitionEnumerator.cs
- CellRelation.cs
- WebPartConnectionsCancelEventArgs.cs
- AssemblyAttributesGoHere.cs
- FlowDocumentFormatter.cs
- propertyentry.cs
- SemaphoreSecurity.cs
- SafeThemeHandle.cs
- ConditionCollection.cs
- SendParametersContent.cs
- FlowDocumentPaginator.cs
- JobInputBins.cs
- DataGridDesigner.cs
- DependencyObjectPropertyDescriptor.cs
- PersonalizationAdministration.cs
- AppDomainUnloadedException.cs
- DataRowCollection.cs
- XmlSchemaValidationException.cs
- ElementFactory.cs
- TdsParserSessionPool.cs
- InputChannelBinder.cs
- SystemDiagnosticsSection.cs
- QilXmlWriter.cs
- ListItemConverter.cs
- SqlTriggerContext.cs
- VirtualPathUtility.cs
- DataGrid.cs
- latinshape.cs
- securitycriticaldata.cs
- CapabilitiesRule.cs
- SpotLight.cs
- ConnectionPoolManager.cs
- SessionStateSection.cs
- WsatStrings.cs
- HttpContext.cs
- wgx_sdk_version.cs
- SelectionEditor.cs
- ManualResetEvent.cs
- StorageTypeMapping.cs
- FormsAuthenticationUserCollection.cs
- ClientFormsAuthenticationCredentials.cs
- WebPartEditVerb.cs
- XmlSchemaType.cs
- RegexRunner.cs
- ApplicationDirectory.cs
- WebPartConnectionsCloseVerb.cs
- GridViewAutomationPeer.cs
- JoinSymbol.cs
- ColumnMapCopier.cs
- IdnMapping.cs
- UInt16.cs
- PointHitTestResult.cs
- NativeMethods.cs
- SymbolType.cs
- DbParameterCollectionHelper.cs
- MDIControlStrip.cs
- Models.cs
- QilStrConcat.cs
- StreamWithDictionary.cs
- OrthographicCamera.cs
- UserControlFileEditor.cs
- GZipStream.cs
- BamlTreeUpdater.cs
- XhtmlBasicListAdapter.cs
- RC2.cs
- DataObject.cs
- EntityCollection.cs
- WaveHeader.cs
- DesignTimeVisibleAttribute.cs
- DataGridViewRowsAddedEventArgs.cs
- BinaryConverter.cs
- PostBackTrigger.cs
- ReadWriteSpinLock.cs
- JumpItem.cs
- HashHelper.cs
- RequestTimeoutManager.cs
- InternalControlCollection.cs
- PropertiesTab.cs
- ListParaClient.cs
- TraceHandler.cs
- DownloadProgressEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- IpcClientManager.cs