# PropertyName
{: .no_toc }

Returns the name of the property the read is being performed for, as a **String**. Read-only.

Syntax: *object*.**PropertyName**

*object*
: *required* An object expression that evaluates to an **AsyncProperty** object.

The value is the *PropertyName* argument that was passed to **UserControl.AsyncRead** when the read was started. A user control can have several reads pending at once, so an event handler typically uses **PropertyName** in a **Select Case** to decide what to do with [**Value**](/tB/Packages/VBRUN/AsyncProperty/Value.md) when the read completes --- for example, which property of the control to assign the result to.

### Example

This example uses **PropertyName** to route the completed read to the correct property.

```tb check_build
' The control's own backing field for the "Data" property.
Private mData As Variant

Private Sub UserControl_AsyncReadComplete(AsyncProp As AsyncProperty)
    Select Case AsyncProp.PropertyName
        Case "Picture"
            Set UserControl.Picture = AsyncProp.Value
        Case "Data"
            mData = AsyncProp.Value
    End Select
End Sub
```

### See Also

- [Target](/tB/Packages/VBRUN/AsyncProperty/Target.md) property
- [Value](/tB/Packages/VBRUN/AsyncProperty/Value.md) property
- [AsyncType](/tB/Packages/VBRUN/AsyncProperty/AsyncType.md) property
