Partager via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)

Syntax

'Declaration
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

.NET Framework Security

See Also

Reference

VSReferencePicker Class

PickReference Overload

Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace