Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class SerializeUtil

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMObjBase.dll

SerializeUtil

public class SerializeUtil

Inheritance

object ← SerializeUtil

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

SerializeUtil()

public SerializeUtil()

Methods

Deserial<T>(string, Type)

Deserialize data

public static T Deserial<T>(string xml, Type type)

Parameters

xml string

The object xml

type Type

The deserialized explicit type

Returns

T

Type Parameters

T

The object type

Deserial<T>(string)

public static T Deserial<T>(string xml)

Parameters

xml string

The object xml

Returns

T

Type Parameters

T

The object type

Serial<T>(T)

Serialize data

public static string Serial<T>(T obj)

Parameters

obj T

The object

Returns

string

The new object.

Type Parameters

T

The object type

Serial(ObjectBase)

public static string Serial(ObjectBase obj)

Parameters

obj ObjectBase

Returns

string

SerialXmlDoc<T>(T)

Serialize data

public static XmlDocument SerialXmlDoc<T>(T obj)

Parameters

obj T

The object

Returns

XmlDocument

The new object.

Type Parameters

T

The object type

Connect with Ansys