Class XDLSWriter
Summary description for DLSXmlWriter.
Inheritance
System.Object
XDLSWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class XDLSWriter : IXDLSAttributeWriter, IXDLSContentWriter
Constructors
XDLSWriter(XmlWriter)
Declaration
public XDLSWriter(XmlWriter writer)
Parameters
Type |
Name |
Description |
System.Xml.XmlWriter |
writer |
|
Properties
InnerWriter
Declaration
public XmlWriter InnerWriter { get; }
Property Value
Type |
System.Xml.XmlWriter |
Methods
Serialize(IXDLSSerializable)
Declaration
public void Serialize(IXDLSSerializable value)
Parameters
WriteChildBinaryElement(String, Byte[])
Declaration
public void WriteChildBinaryElement(string name, byte[] value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Byte[] |
value |
|
WriteChildElement(String, Object)
Declaration
public void WriteChildElement(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
WriteChildRefElement(String, Int32)
Declaration
public void WriteChildRefElement(string name, int refToElement)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
refToElement |
|
WriteChildStringElement(String, String)
Declaration
public void WriteChildStringElement(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
WriteCustomElement(String, Object)
Declaration
protected virtual void WriteCustomElement(string tagName, object value)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
System.Object |
value |
|
WriteImage(Image)
Declaration
public void WriteImage(Image image)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
WriteValue(String, Boolean)
Declaration
public void WriteValue(string name, bool value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
value |
|
WriteValue(String, DateTime)
Declaration
public void WriteValue(string name, DateTime value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.DateTime |
value |
|
WriteValue(String, Color)
Writes color as string to XML.
Declaration
public void WriteValue(string name, Color value)
Parameters
Type |
Name |
Description |
System.String |
name |
Name of attribute.
|
System.Drawing.Color |
value |
Color structure.
|
WriteValue(String, Enum)
Declaration
public void WriteValue(string name, Enum value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Enum |
value |
|
WriteValue(String, Int32)
Declaration
public void WriteValue(string name, int value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
value |
|
WriteValue(String, Single)
Declaration
public void WriteValue(string name, float value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Single |
value |
|
WriteValue(String, String)
Declaration
public void WriteValue(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
Implements