使用模型浏览器选择引用并显示该引用。 支持存储的自动 fixup。
命名空间: Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting
程序集: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)
语法
声明
Function PickModelReference ( _
store As Store, _
reference As ModelBusReference, _
ParamArray metadata As PickerMetadataBaseAttribute() _
) As ModelBusReference
ModelBusReference PickModelReference(
Store store,
ModelBusReference reference,
params PickerMetadataBaseAttribute[] metadata
)
参数
- store
类型:Microsoft.VisualStudio.Modeling.Store
用作服务提供程序并在其中运行自动修复的存储
- reference
类型:Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
当前引用
- metadata
类型:array<Microsoft.VisualStudio.Modeling.Integration.Picker.PickerMetadataBaseAttribute[]
选取器和其浏览器的其他元数据
返回值
类型:Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
选取器选择的引用
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。
请参阅
参考
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting 命名空间