System.Runtime.Serialization.DataContractSerializer.WriteObjectContent C# (CSharp) Method

WriteObjectContent() public method

public WriteObjectContent ( System writer, object graph ) : void
writer System
graph object
return void
        public override void WriteObjectContent(System.Xml.XmlDictionaryWriter writer, object graph) { }
        public override void WriteObjectContent(System.Xml.XmlWriter writer, object graph) { }

Usage Example

コード例 #1
0
ファイル: ResponseRoot.cs プロジェクト: girish66/DbWebApi
        void IXmlSerializable.WriteXml(XmlWriter writer)
        {
            writer.WriteAttributeString("xmlns", "x", null, "http://www.w3.org/2001/XMLSchema");

            if (_Content != null)
            {
                DataContractSerializer serializer = new DataContractSerializer(typeof(StoredProcedureResponse));
                serializer.WriteObjectContent(writer, _Content);
            }
        }
All Usage Examples Of System.Runtime.Serialization.DataContractSerializer::WriteObjectContent