Edit

Share via


ICTPFactory.CreateCTP(String, String, Object) Method

Definition

Creates an instance of a custom task pane.

public Microsoft.Office.Core.CustomTaskPane CreateCTP (string CTPAxID, string CTPTitle, object CTPParentWindow);
abstract member CreateCTP : string * string * obj -> Microsoft.Office.Core.CustomTaskPane
Public Function CreateCTP (CTPAxID As String, CTPTitle As String, Optional CTPParentWindow As Object) As CustomTaskPane

Parameters

CTPAxID
String

The CLSID or ProgID of a Microsoft ActiveX® object.

CTPTitle
String

The title for the task pane.

CTPParentWindow
Object

The window that hosts the task pane. If not present, the parent of the task pane is the ActiveWindow property of the host application.

Returns

CustomTaskPane

Applies to