Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class PropertyXmlSerializer<TProperty\>

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMObjBase.dll

This class is to represent xmlSerializer for property.

public class PropertyXmlSerializer<TProperty> : AbstractXmlSerializer<TProperty> where TProperty : Property

Type Parameters

TProperty

Inheritance

object ← AbstractXmlSerializer<TProperty> ← PropertyXmlSerializer<TProperty>

Extension Methods

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

Constructors

PropertyXmlSerializer()

Initializes a new instance of the class.

protected PropertyXmlSerializer()

PropertyXmlSerializer(TProperty)

Initializes a new instance of the class.

protected PropertyXmlSerializer(TProperty prop)

Parameters

prop TProperty

The property.

Methods

ReadXml(XmlReader)

Reads the XML.

public override void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The reader.

WriteXml(XmlWriter)

Writes the XML.

public override void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The writer.

Operators

implicit operator PropertyXmlSerializer<TProperty>(TProperty)

Performs an implicit conversion from to .

public static implicit operator PropertyXmlSerializer<TProperty>(TProperty prop)

Parameters

prop TProperty

The prop.

Returns

PropertyXmlSerializer<TProperty>

The result of the conversion.

Connect with Ansys