## GetPropertyString(long, int) {#getpropertystring_1}

Gets the value of a property as a string, decoding an ANSI string with the specified code page.

```csharp
public string GetPropertyString(long tag, int codepage)
```

| Parameter | Type | Description |
| --- | --- | --- |
| tag | Int64 | The tag of the property. |
| codepage | Int32 | The code page of an ANSI (8-bit) string. |

### Return Value

The value, or `null` if the property does not exist.

### See Also

* class [MapiPropertyContainer](../)
* namespace [Aspose.Email.Mapi](../../mapipropertycontainer/)
* assembly [Aspose.Email](../../../)

---

## GetPropertyString(long) {#getpropertystring}

Gets the value of a property as a string.

```csharp
public string GetPropertyString(long tag)
```

| Parameter | Type | Description |
| --- | --- | --- |
| tag | Int64 | The tag of the property. |

### Return Value

The value, or `null` if the property does not exist.

### See Also

* class [MapiPropertyContainer](../)
* namespace [Aspose.Email.Mapi](../../mapipropertycontainer/)
* assembly [Aspose.Email](../../../)


