_QueryTable.WebSelectionType 属性

定义

返回或设置一个值,该值决定是向查询表中导入整个网页、网页上的所有表格还是仅网页上的特定表格。 读/写 XlWebSelectionType

public:
 property Microsoft::Office::Interop::Excel::XlWebSelectionType WebSelectionType { Microsoft::Office::Interop::Excel::XlWebSelectionType get(); void set(Microsoft::Office::Interop::Excel::XlWebSelectionType value); };
public Microsoft.Office.Interop.Excel.XlWebSelectionType WebSelectionType { get; set; }
Public Property WebSelectionType As XlWebSelectionType

属性值

注解

仅当查询表的 QueryType 属性设置为 xlWebQuery 并且查询返回 HTML 文档时,才使用此属性。

如果此属性的值为 xlSpecifiedTables,则可以使用 WebTables 属性指定要导入的表。

适用于