
## IsMsgFormat (1 of 2) {#ismsgformat_1}

Determines whether the specified stream has a MSG format.

**Returns:** true if the stream is represented in MSG format]; otherwise, false .

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

| Parameter | Description |
| --- | --- |
| stream | The message stream. |

---

## IsMsgFormat (2 of 2) {#ismsgformat_2}

Determines whether the specified file has a MSG format.

**Returns:** true if the file is represented in MSG format; otherwise, false .

```cpp
IsMsgFormat(System::String fileName)
```

| Parameter | Description |
| --- | --- |
| fileName | Name of the file. |

