Condividi tramite


XmlMappedRange.QueryTable Property

Definition

Gets a QueryTable that represents the query table that intersects the XmlMappedRange control.

public:
 property Microsoft::Office::Interop::Excel::QueryTable ^ QueryTable { Microsoft::Office::Interop::Excel::QueryTable ^ get(); };
public Microsoft.Office.Interop.Excel.QueryTable QueryTable { get; }
member this.QueryTable : Microsoft.Office.Interop.Excel.QueryTable
Public ReadOnly Property QueryTable As QueryTable

Property Value

A QueryTable that represents the query table that intersects the XmlMappedRange control.

Examples

The following code example uses the QueryTable property to refresh the query table that intersects an XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell that is intersected by a query table.

private void RefreshQueryTable()
{
    this.CustomerLastNameCell.QueryTable.Refresh();
}
Private Sub RefreshQueryTable()
    Me.CustomerLastNameCell.QueryTable.Refresh()
End Sub

Applies to