Document.HostContext 属性

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

命名空间:  Microsoft.Office.Tools.Word
程序集:  Microsoft.Office.Tools.Word(在 Microsoft.Office.Tools.Word.dll 中)

语法

声明
ReadOnly Property HostContext As IServiceProvider
    Get
IServiceProvider HostContext { get; }

属性值

类型:System.IServiceProvider

.NET Framework 安全性

请参见

参考

Document 接口

Microsoft.Office.Tools.Word 命名空间