TaskPanesCollection 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.
Contains a collection of TaskPaneObject objects that represent the task panes associated with a window in Microsoft Office InfoPath 2003.
public interface class TaskPanesCollection : Microsoft::Office::Interop::InfoPath::TaskPanes
[System.Runtime.InteropServices.Guid("096CD58D-0786-11D1-95FA-0080C78EE3BB")]
public interface TaskPanesCollection : Microsoft.Office.Interop.InfoPath.TaskPanes
type TaskPanesCollection = interface
interface TaskPanes
Public Interface TaskPanesCollection
Implements TaskPanes
- Derived
- Attributes
- Implements
Examples
In the following example, the TaskPanes property of the WindowObject object is used to set a reference to the TaskPanes collection:
<span class="label">TaskPanes</span> taskPanes = thisApplication.ActiveWindow.<span class="label">TaskPanes</span>;
Remarks
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeTaskPanes.
The TaskPanesCollection collection provides properties that can be used to access a collection of task pane objects, and it is accessed through the TaskPanes property of the WindowObject object.
Note: The TaskPanesCollection collection can be used only to get the count of the TaskPaneObject objects that it contains and to return a reference to a specified TaskPaneObject object. It cannot be used to add or remove TaskPaneObject objects.
Properties
Count |
Gets a count of the number of the TaskPaneObject objects contained in the collection. (Inherited from TaskPanes) |
Item[Object] |
Gets a reference to the specified the TaskPaneObject object from the collection. (Inherited from TaskPanes) |
Methods
GetEnumerator() |
Gets an IEnumerator that iterates over all entries in the TaskPanesCollection object. (Inherited from TaskPanes) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기