OutlookAddInBase.GetFormRegions 方法 (Explorer, Type)
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
命名空间: Microsoft.Office.Tools.Outlook
程序集: Microsoft.Office.Tools.Outlook.v4.0.Utilities(在 Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll 中)
语法
声明
Public Function GetFormRegions ( _
explorer As Explorer, _
customCollectionType As Type _
) As IList(Of IFormRegion)
public IList<IFormRegion> GetFormRegions(
Explorer explorer,
Type customCollectionType
)
参数
- explorer
类型:Microsoft.Office.Interop.Outlook.Explorer
- customCollectionType
类型:System.Type
返回值
类型:System.Collections.Generic.IList<IFormRegion>
若要访问特定资源管理器中显示的所有 Microsoft Office Outlook 窗体区域,请调用 Globals 类的 FormRegions 属性,并传入一个表示该资源管理器的 Explorer 对象。
有关更多信息,请参见 在运行时访问窗体区域。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。