Inheritance: XmlBaseWriter, IXmlBinaryWriterInitializer
        public static XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary?dictionary, XmlBinaryWriterSession?session, bool ownsStream)
        {
            XmlBinaryWriter writer = new XmlBinaryWriter();

            writer.SetOutput(stream, dictionary, session, ownsStream);
            return(writer);
        }
 public static XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream)
 {
     XmlBinaryWriter writer = new XmlBinaryWriter();
     writer.SetOutput(stream, dictionary, session, ownsStream);
     return writer;
 }