Upravit

Sdílet prostřednictvím


Parameters Interface

Definition

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
[System.Runtime.InteropServices.Guid("0002442B-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Parameters : System.Collections.IEnumerable
Public Interface Parameters
Implements IEnumerable
Attributes
Implements

Remarks

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.

Properties

_Default[Object]

Reserved for internal use.

Application

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

Count

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

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

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

Methods

Add(String, Object)

Creates a new query parameter. Returns a Parameter object.

Delete()

Deletes the object.

GetEnumerator()
Item(Object)

Returns a single object from a collection.

Applies to