System.Xml.XmlDocumentType.XmlDocumentType C# (CSharp) Méthode

XmlDocumentType() protected méthode

protected XmlDocumentType ( string name, string publicId, string systemId, string internalSubset, XmlDocument doc ) : System.Xml.Schema
name string
publicId string
systemId string
internalSubset string
doc XmlDocument
Résultat System.Xml.Schema
        protected internal XmlDocumentType( string name, string publicId, string systemId, string internalSubset, XmlDocument doc ) : base( doc ) {
            this.name     = name;
            this.publicId = publicId;
            this.systemId = systemId;
            this.namespaces = true;
            this.internalSubset = internalSubset;
            Debug.Assert( doc != null );
            if ( !doc.IsLoading ) {
                doc.IsLoading = true;
                XmlLoader loader = new XmlLoader();
                loader.ParseDocumentType( this ); //will edit notation nodes, etc.
                doc.IsLoading = false;
            }
        }