ClosureContextHelper.GetClosureContext 方法 (ElementGroup)
抓取元素查看器的关闭上下文。
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
语法
声明
Public Shared Function GetClosureContext ( _
elementGroup As ElementGroup _
) As Dictionary(Of Object, Object)
public static Dictionary<Object, Object> GetClosureContext(
ElementGroup elementGroup
)
参数
- elementGroup
类型:Microsoft.VisualStudio.Modeling.ElementGroup
保存关闭上下文的元素组
返回值
类型:System.Collections.Generic.Dictionary<Object, Object>
IDictionary
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。