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

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

This class is to represent the read and writes variable for template.

```csharp theme={null}
public class ITemplateObjectImpl
```

#### Inheritance

object ←
[ITemplateObjectImpl](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ITemplateObjectImpl.md)

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

## Constructors

### ITemplateObjectImpl()

```csharp theme={null}
public ITemplateObjectImpl()
```

## Methods

### ReadVariable(string, Variable, XmlReader, bool)

Reads the variable.

```csharp theme={null}
public static Tuple<bool, double> ReadVariable(string strName, Variable var, XmlReader reader, bool bParameterized)
```

#### Parameters

`strName` string

Name of the variable.

`var` [Variable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Variable.md)

The variable.

`reader` XmlReader

The reader.

`bParameterized` bool

if set to `true` parameterized.

#### Returns

Tuple\<bool, double>

`true` if the specified value is change; otherwise, `false`.

### WriteVariable(string, Variable, XmlWriter, bool)

Writes the variable.

```csharp theme={null}
public static void WriteVariable(string strName, Variable var, XmlWriter writer, bool bParameterized)
```

#### Parameters

`strName` string

Name of the variable.

`var` [Variable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Variable.md)

The variable.

`writer` XmlWriter

The writer.

`bParameterized` bool

if set to `true` parameterized.
