> ## 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.

# Interface ITemplateObject

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

This interface is to represent the template object.

```csharp theme={null}
public interface ITemplateObject
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/lib/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 theme={null}
void AfterReadTemplate()
```

### BeforeReadTemplate()

Called before reading template .

```csharp theme={null}
void BeforeReadTemplate()
```

### IsReadAndWrite()

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

```csharp theme={null}
bool IsReadAndWrite()
```

#### Returns

bool

### ReadTemplate(XmlReader)

Generates a template object from its XML representation.

```csharp theme={null}
void ReadTemplate(XmlReader reader)
```

#### Parameters

`reader` XmlReader

The XmlReader stream from which the template object is deserialized.

### SkipToUpdateSymmetric()

whether this template object skip \[Update Symmetric].

```csharp theme={null}
bool SkipToUpdateSymmetric()
```

#### Returns

bool

### WriteTemplate(XmlWriter)

Converts a template object into its XML representation.

```csharp theme={null}
void WriteTemplate(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The XmlWriter stream to which the template object is serialized.
