Share via


ControlFormat.ListFillRange 属性

定义

返回或设置用于填充指定列表框的工作表区域。

public:
 property System::String ^ ListFillRange { System::String ^ get(); void set(System::String ^ value); };
public string ListFillRange { get; set; }
Public Property ListFillRange As String

属性值

注解

对该属性进行设置将破坏列表框中的所有列表项。

Microsoft Excel 阅读区域中的每一单元格的内容,并将单元格值插入到列表框中。 列表对该区域中单元格的修订进行追踪。

如果列表框中的列表是使用 AddItem(String, Object) 方法创建的,则此属性返回空字符串 (“”) 。

适用于