編輯

共用方式為


ICustomTaskPaneConsumer Interface

Definition

An interface that provides access to the CTPFactoryAvailable(ICTPFactory) method that is used to create an instance of a custom task pane.

public interface class ICustomTaskPaneConsumer
[System.Runtime.InteropServices.Guid("000C033E-0000-0000-C000-000000000046")]
public interface ICustomTaskPaneConsumer
[<System.Runtime.InteropServices.Guid("000C033E-0000-0000-C000-000000000046")>]
type ICustomTaskPaneConsumer = interface
Public Interface ICustomTaskPaneConsumer
Attributes

Remarks

Note: You can create custom task panes in any language that supports COM and allows you to create dynamic-linked library (DLL) files. For example, Microsoft Visual Basic® 6.0, Microsoft Visual Basic .NET, Microsoft Visual C++®, Microsoft Visual C++ .NET, and Microsoft Visual C#®. However, Microsoft Visual Basic for Applications (VBA) does not support creating custom task panes.

Methods

CTPFactoryAvailable(ICTPFactory)

Passes an ICTPFactory object to a Microsoft ActiveX add-in that can then be used when creating a custom task pane.

Applies to