Factory.CreateCustomTaskPaneCollection 方法
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
命名空間: Microsoft.Office.Tools
組件: Microsoft.Office.Tools.Common (在 Microsoft.Office.Tools.Common.dll 中)
語法
'宣告
Function CreateCustomTaskPaneCollection ( _
serviceProvider As IServiceProvider, _
hostItemProvider As IHostItemProvider, _
primaryCookie As String, _
identifier As String, _
containerComponent As Object _
) As CustomTaskPaneCollection
CustomTaskPaneCollection CreateCustomTaskPaneCollection(
IServiceProvider serviceProvider,
IHostItemProvider hostItemProvider,
string primaryCookie,
string identifier,
Object containerComponent
)
參數
- serviceProvider
型別:System.IServiceProvider
- hostItemProvider
型別:Microsoft.Office.Tools.IHostItemProvider
- primaryCookie
型別:System.String
- identifier
型別:System.String
- containerComponent
型別:System.Object
傳回值
型別:Microsoft.Office.Tools.CustomTaskPaneCollection
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。