VSReferencePicker.PickReference Method (ITypeDescriptorContext, IWindowsFormsEditorService, Type, IServiceProvider, Store, ModelBusReference)
Picks a reference in UITypeEditor context
Namespace: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overridable Function PickReference ( _
context As ITypeDescriptorContext, _
editorService As IWindowsFormsEditorService, _
browserType As Type, _
serviceProvider As IServiceProvider, _
store As Store, _
reference As ModelBusReference _
) As ModelBusReference
protected virtual ModelBusReference PickReference(
ITypeDescriptorContext context,
IWindowsFormsEditorService editorService,
Type browserType,
IServiceProvider serviceProvider,
Store store,
ModelBusReference reference
)
protected:
virtual ModelBusReference^ PickReference(
ITypeDescriptorContext^ context,
IWindowsFormsEditorService^ editorService,
Type^ browserType,
IServiceProvider^ serviceProvider,
Store^ store,
ModelBusReference^ reference
)
abstract PickReference :
context:ITypeDescriptorContext *
editorService:IWindowsFormsEditorService *
browserType:Type *
serviceProvider:IServiceProvider *
store:Store *
reference:ModelBusReference -> ModelBusReference
override PickReference :
context:ITypeDescriptorContext *
editorService:IWindowsFormsEditorService *
browserType:Type *
serviceProvider:IServiceProvider *
store:Store *
reference:ModelBusReference -> ModelBusReference
protected function PickReference(
context : ITypeDescriptorContext,
editorService : IWindowsFormsEditorService,
browserType : Type,
serviceProvider : IServiceProvider,
store : Store,
reference : ModelBusReference
) : ModelBusReference
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
- editorService
Type: System.Windows.Forms.Design.IWindowsFormsEditorService
- browserType
Type: System.Type
- serviceProvider
Type: System.IServiceProvider
- store
Type: Microsoft.VisualStudio.Modeling.Store
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace