0
Try
For Each Camera As WebCameraId In frmMain.wcc.GetVideoCaptureDevices
If cbCamera.SelectedItem = Camera.GetHashCode Then
txtCamName.Text = Camera.Name
End If
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
如何將值返回給webcameraId?返回值返回WebCameraId
你試圖返回哪個變量?並花時間參加[參觀]並閱讀[問] – Mederic