> (1) 代入式の左辺が Integer 型の変数やプロパティで、右辺が文字列 "HH:mm" の時 > Dim jikan As Integer = "HH:mm" > 'Dim jikan As Integer = DateTimePicker1.Value.Hour.ToString("HH:mm") > > (2) Integer 型の引数を受け取るメソッドに、"HH:mm" という文字列引数を渡してた時 > Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click > Test("HH:mm") > End Sub > Sub Test(hhmm As Integer) > End Sub