Private Function Hoge(Of Type As 制約)(ByVal fuga As Type) As Byte() '例えばこんな事したい場合 Return BitConverter.GetBytes(fuga) End Function