ModelReferenceEditor.PickReference 方法
使用模型選擇器來挑選參考
命名空間: Microsoft.VisualStudio.Modeling.Integration.Picker
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)
語法
'宣告
Protected Overrides Function PickReference ( _
context As ITypeDescriptorContext, _
editorService As IWindowsFormsEditorService, _
store As Store, _
reference As ModelBusReference _
) As ModelBusReference
protected override ModelBusReference PickReference(
ITypeDescriptorContext context,
IWindowsFormsEditorService editorService,
Store store,
ModelBusReference reference
)
參數
- context
類型:System.ComponentModel.ITypeDescriptorContext
- editorService
類型:System.Windows.Forms.Design.IWindowsFormsEditorService
傳回值
類型:Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。