Dim instance As Capabilities Dim value As String value = instance.UnexpectedAlertBehaviour instance.UnexpectedAlertBehaviour = value