InstanceId Property (IUiControl)
Gets the instance ID for a given control. The instance ID is a GUID generated when creating the control. The instance ID helps uniquely identify two controls (even when they have the same ID).
'Declaration
ReadOnly Property InstanceId As String
'Usage
Dim instance As IUiControl
Dim value As String
value = instance.InstanceId