コード例 #1
0
        protected override DomNode CloneCore()
        {
            var result = OwnerDocument.CreateDocumentType(NodeName);

            result.CopyAnnotationsFrom(AnnotationList);
            return(result);
        }
コード例 #2
0
ファイル: XmlDocumentType.cs プロジェクト: mikem8361/runtime
 // Creates a duplicate of this node.
 public override XmlNode CloneNode(bool deep)
 {
     Debug.Assert(OwnerDocument != null);
     return(OwnerDocument.CreateDocumentType(_name, _publicId, _systemId, _internalSubset));
 }
コード例 #3
0
 public DomDocumentType CreateDocumentType(string name)
 {
     return(OwnerDocument.CreateDocumentType(name));
 }
コード例 #4
0
 public DomDocumentType CreateDocumentType(string name, string publicId, string systemId)
 {
     return(OwnerDocument.CreateDocumentType(name, publicId, systemId));
 }
コード例 #5
0
 // Clone this node.
 public override XmlNode CloneNode(bool deep)
 {
     return(OwnerDocument.CreateDocumentType
                (name, publicId, systemId, internalSubset));
 }