
## FromVTodo (1 of 4) {#fromvtodo_1}

Creates an instance of MapiTask from the specified stream.

**Returns:** Returns a MapiTask instance which is loaded from the specified stream.

```cpp
FromVTodo(System::SharedPtr < System::IO::Stream > stream)
```

| Parameter | Description |
| --- | --- |
| stream | The stream to be loaded. |

---

## FromVTodo (2 of 4) {#fromvtodo_2}

Creates an instance of MapiTask from the specified stream.

**Returns:** Returns a MapiTask instance which is loaded from the specified stream.

```cpp
FromVTodo(System::SharedPtr < System::IO::Stream > stream, bool detectEncoding)
```

| Parameter | Description |
| --- | --- |
| stream | The stream to be loaded. |
| detectEncoding | Determines a data encoding by analyzing its byte order mark (BOM) |

---

## FromVTodo (3 of 4) {#fromvtodo_3}

Creates an instance of MapiTask from the specified .ics file.

**Returns:** Returns a MapiTask instance which is loaded from the specified file.

```cpp
FromVTodo(System::String filePath)
```

| Parameter | Description |
| --- | --- |
| filePath | The path to the file to be loaded. |

---

## FromVTodo (4 of 4) {#fromvtodo_4}

Creates an instance of MapiTask from the specified .ics file.

**Returns:** Returns a MapiTask instance which is loaded from the specified file.

```cpp
FromVTodo(System::String filePath, bool detectEncoding)
```

| Parameter | Description |
| --- | --- |
| filePath | The path to the file to be loaded. |
| detectEncoding | Determines a data encoding by analyzing its byte order mark (BOM) |

