    

 ## On this page

  

 

 # Class PropertyXmlSerializer&lt;TProperty\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMObjBase.dll

This class is to represent xmlSerializer for property.

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

```

#### Type Parameters

`TProperty`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← AbstractXmlSerializer&lt;TProperty&gt; ← [PropertyXmlSerializer&lt;TProperty&gt;](VM.Managed.PropertyXmlSerializer-1.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](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  class.

```csharp
protected PropertyXmlSerializer()

```

### PropertyXmlSerializer(TProperty)

Initializes a new instance of the  class.

```csharp
protected PropertyXmlSerializer(TProperty prop)

```

#### Parameters

`prop` TProperty

The property.

## Methods

### ReadXml(XmlReader)

Reads the XML.

```csharp
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
public override void WriteXml(XmlWriter writer)

```

#### Parameters

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

The writer.

## Operators

### implicit operator PropertyXmlSerializer&lt;TProperty&gt;(TProperty)

Performs an implicit conversion from  to .

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

```

#### Parameters

`prop` TProperty

The prop.

#### Returns

[PropertyXmlSerializer](VM.Managed.PropertyXmlSerializer-1.md)&lt;TProperty&gt;

The result of the conversion.