Parameters Parameters Parameters Interface


A collection of Parameter objects for the specified query table. Each Parameter object represents a single query parameter. Every query table contains a Parameters collection, but the collection is empty unless the query table is using a parameter query.

public interface class Parameters : System::Collections::IEnumerable
public interface Parameters : System.Collections.IEnumerable
Public Interface Parameters
Implements IEnumerable


Use the Parameters property to return the Parameters collection.

Use the Add(String, Object) method to create a new parameter for a query table.

You cannot use the Add method on a URL connection query table. For URL connection query tables, Microsoft Excel creates the parameters based on the Connection and PostText properties.


_Default[Object] _Default[Object] _Default[Object]

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Count Count Count

Returns the number of objects in the collection. Read-only Integer.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Parent Parent Parent

Returns the parent object for the specified object. Read-only.


Add(String, Object) Add(String, Object) Add(String, Object)

Creates a new query parameter. Returns a Parameter object.

Delete() Delete() Delete()

Deletes the object.

GetEnumerator() GetEnumerator() GetEnumerator()
Item(Object) Item(Object) Item(Object)

Returns a single object from a collection.

Applies to