单项选择题

假定窗体的名称(Name属性)为Form1,则把窗体的标题设置为“VB Test”的语句为()

A.Form1=“VB Test”
B.Caption=“VB Test”
C.Form1.text=“VB Test”
D.Form1.Name=“VB Test”