## MessageObjectProperty.ToInt method

Converts the value of the property to integer.

```csharp
public int ToInt()
```

### Return Value

Integer value, if type can't be converted to integer returns 0.

### See Also

* class [MessageObjectProperty](../)
* namespace [Aspose.Email.Mapi.Msg](../../messageobjectproperty/)
* assembly [Aspose.Email](../../../)


