
## SaveAsTemplate (1 of 4) {#saveastemplate_1}

Saves the project as a template to a specified stream.

**Returns:** void Aspose::Tasks::

```cpp
SaveAsTemplate(const System::SharedPtr< System::IO::Stream > & stream)
```

| Parameter | Description |
| --- | --- |
| stream | the specified stream to save the project to. |

---

## SaveAsTemplate (2 of 4) {#saveastemplate_2}

Saves the project as a template to a specified stream.

**Returns:** void Aspose::Tasks::

```cpp
SaveAsTemplate(const System::SharedPtr< System::IO::Stream > & stream, const System::SharedPtr< Saving::SaveTemplateOptions > & options)
```

| Parameter | Description |
| --- | --- |
| stream | Stream to save the project template to. |
| options | the specified save options SaveTemplateOptions . |

---

## SaveAsTemplate (3 of 4) {#saveastemplate_3}

Saves the project as a template to the specified file path.

**Returns:** void Aspose::Tasks::

```cpp
SaveAsTemplate(const System::String & fileName)
```

| Parameter | Description |
| --- | --- |
| fileName | the specified file name. |

---

## SaveAsTemplate (4 of 4) {#saveastemplate_4}

Saves the project as a template.

**Returns:** void Aspose::Tasks::

```cpp
SaveAsTemplate(const System::String & fileName, const System::SharedPtr< Saving::SaveTemplateOptions > & options)
```

| Parameter | Description |
| --- | --- |
| fileName | The file name. |
| options | the specified save options SaveTemplateOptions . |

