i am able to recognize finding“\n” in xml after serialization?

adendexia

New Member
string stCode = "if MyVariable then\n" +" X := X + 1;\n"+"end_if;";fbType.CodeBlocks.AddSTCodeBlock2("MySTCodeBlock", ref stCode);string bucket = cb.NewFunctionBlockType(fbType.Name,"MyLib", fbType.Serialize()); // serializing objectBut the \n (newline) characters disappear after serialization,How can I can recognize?
 
Back
Top