共用方式為


CustomTaskPaneCollection.Add Method

Include Protected Members
Include Inherited Members

Creates a new CustomTaskPane and adds it to the current CustomTaskPaneCollection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(UserControl, String) Creates a new CustomTaskPane and adds it to the current CustomTaskPaneCollection. The custom task pane is based on the specified UserControl and has the specified title.
Public method Add(UserControl, String, Object) Creates a new CustomTaskPane and adds it to the current CustomTaskPaneCollection. The custom task pane is based on the specified UserControl, has the specified title, and is associated with the specified application window.

Top

See Also

Reference

CustomTaskPaneCollection Interface

Microsoft.Office.Tools Namespace