> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class PropertyXmlSerializer<TProperty>

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed)\
Assembly: VMObjBase.dll

This class is to represent xmlSerializer for property.

```csharp theme={null}
public class PropertyXmlSerializer<TProperty> : AbstractXmlSerializer<TProperty> where TProperty : Property
```

#### Type Parameters

`TProperty`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
AbstractXmlSerializer\<TProperty> ←
[PropertyXmlSerializer\<TProperty>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.PropertyXmlSerializer-1.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### PropertyXmlSerializer()

Initializes a new instance of the PropertyXmlSerializer\`1 class.

```csharp theme={null}
protected PropertyXmlSerializer()
```

### PropertyXmlSerializer(TProperty)

Initializes a new instance of the PropertyXmlSerializer\`1 class.

```csharp theme={null}
protected PropertyXmlSerializer(TProperty prop)
```

#### Parameters

`prop` TProperty

The property.

## Methods

### ReadXml(XmlReader)

Reads the XML.

```csharp theme={null}
public override void ReadXml(XmlReader reader)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The reader.

### WriteXml(XmlWriter)

Writes the XML.

```csharp theme={null}
public override void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The writer.

## Operators

### implicit operator PropertyXmlSerializer\<TProperty>(TProperty)

Performs an implicit conversion from [Property](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Property.md) to PropertyXmlSerializer\`1.

```csharp theme={null}
public static implicit operator PropertyXmlSerializer<TProperty>(TProperty prop)
```

#### Parameters

`prop` TProperty

The prop.

#### Returns

[PropertyXmlSerializer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.PropertyXmlSerializer-1.md)\<TProperty>

The result of the conversion.
