SalXML
Namespace: PPJ.Runtime.Xml
Assembly: PPJ.Runtime.49 (4.9.0.0)
Serializer for any object with PPJ native types.
- C#
- VB.NET
public class SalXML
Public Class SalXML
Constructors
SalXML(stream)
Construct from a stream
| Name | Type | Description |
|---|---|---|
| stream | Stream |
SalXML(filePath)
Construct from a filePath
| Name | Type | Description |
|---|---|---|
| filePath | String |
Methods
Deserialize<T>()
Deserializes the object of the specified type from XML.
| Parameter | Type | Description |
|---|---|---|
| T |
Returns: T.
Deserialize()
Deserializes any object from XML. The type name is resolved from the first node.
Returns: Object.
Serialize<T>(o)
Serializes the object of the specified type to XML.
| Parameter | Type | Description |
|---|---|---|
| T | ||
| o | Object |