此浏览器 1. 执行所需的步骤以加载引用。清除以前的所有元素 2。设置基于上下文的当前状态 3。加载元素 (如果需要) 此方法控件以下状态:NoModelRef, NoElementRef, InvalidModelRef,如果 ref==null =AMP_GTNoModelRef (未加载的模型),如果 ref 有效的设计 ref =AMP_GTNoElementRef (需要偷看元素) 其他 =AMP_GT InvalidModelRef (不能偷看元素,因为设计 ref 是中断的)
命名空间: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
程序集: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0.dll 中)
语法
声明
Protected Sub LoadReference ( _
reference As ModelBusReference _
)
protected void LoadReference(
ModelBusReference reference
)
参数
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker 命名空间