如果您在 VB 2010 中为 a 构建了一个结构,HousePet
并且您想要访问名为的结构元素Coat
,那么将元素移动到变量中所需的代码行是Coat
什么?
Structure HousePet
Public _Breed as String
Public _PetCoat as String
Public _Cost as Double
End Structure
Sub Main()
Dim HoundDog As HousePet
Dim Coat as String
**Insert Code Here**
End Sub