System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement C# (CSharp) Method

WriteObjectElement() protected method

protected WriteObjectElement ( XmlTypeMapping typeMap, object ob, string element, string namesp ) : void
typeMap XmlTypeMapping
ob object
element string
namesp string
return void
		protected virtual void WriteObjectElement (XmlTypeMapping typeMap, object ob, string element, string namesp)
		{
			ClassMap map = (ClassMap)typeMap.ObjectMap;
			if (map.NamespaceDeclarations != null)
				WriteNamespaceDeclarations ((XmlSerializerNamespaces) map.NamespaceDeclarations.GetValue (ob));
			
			WriteObjectElementAttributes (typeMap, ob);
			WriteObjectElementElements (typeMap, ob);
		}