Parameters Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기