---
title: stringValue
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsappleeventdescriptor/stringvalue
---

# stringValue

The contents of the receiver as a Unicode text string, coercing to typeUnicodeText if necessary.

## Declaration

```swift
var stringValue: String? { get }
```

## Discussion

Discussion The contents of the descriptor, as a string, or nil if an error occurs.

## See Also

### Getting Information About a Descriptor

- [aeDesc](foundation/nsappleeventdescriptor/aedesc.md)
- [booleanValue](foundation/nsappleeventdescriptor/booleanvalue.md)
- [coerce(toDescriptorType:)](foundation/nsappleeventdescriptor/coerce(todescriptortype:).md)
- [data](foundation/nsappleeventdescriptor/data.md)
- [descriptorType](foundation/nsappleeventdescriptor/descriptortype.md)
- [enumCodeValue](foundation/nsappleeventdescriptor/enumcodevalue.md)
- [int32Value](foundation/nsappleeventdescriptor/int32value.md)
- [numberOfItems](foundation/nsappleeventdescriptor/numberofitems.md)
- [typeCodeValue](foundation/nsappleeventdescriptor/typecodevalue.md)
