    

 ## On this page

  

 

 # Interface ITemplateObject

 Last update: 16.07.2025 

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

This interface is to represent the template object.

```csharp
public interface ITemplateObject

```

#### 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_)

## Methods

### AfterReadTemplate()

Called after reading template .

```csharp
void AfterReadTemplate()

```

### BeforeReadTemplate()

Called before reading template .

```csharp
void BeforeReadTemplate()

```

### IsReadAndWrite()

whether this template object is \[read and write\].

```csharp
bool IsReadAndWrite()

```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ReadTemplate(XmlReader)

Generates a template object from its XML representation.

```csharp
void ReadTemplate(XmlReader reader)

```

#### Parameters

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

The XmlReader stream from which the template object is deserialized.

### SkipToUpdateSymmetric()

whether this template object skip \[Update Symmetric\].

```csharp
bool SkipToUpdateSymmetric()

```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### WriteTemplate(XmlWriter)

Converts a template object into its XML representation.

```csharp
void WriteTemplate(XmlWriter writer)

```

#### Parameters

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

The XmlWriter stream to which the template object is serialized.