Partager via


VSReferencePicker.PickElementReference Method (ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

Picks element 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
Public Overridable Function PickElementReference ( _
    context As ITypeDescriptorContext, _
    editorService As IWindowsFormsEditorService, _
    store As Store, _
    reference As ModelBusReference _
) As ModelBusReference
public virtual ModelBusReference PickElementReference(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    Store store,
    ModelBusReference reference
)
public:
virtual ModelBusReference^ PickElementReference(
    ITypeDescriptorContext^ context, 
    IWindowsFormsEditorService^ editorService, 
    Store^ store, 
    ModelBusReference^ reference
)
abstract PickElementReference : 
        context:ITypeDescriptorContext * 
        editorService:IWindowsFormsEditorService * 
        store:Store * 
        reference:ModelBusReference -> ModelBusReference 
override PickElementReference : 
        context:ITypeDescriptorContext * 
        editorService:IWindowsFormsEditorService * 
        store:Store * 
        reference:ModelBusReference -> ModelBusReference 
public function PickElementReference(
    context : ITypeDescriptorContext, 
    editorService : IWindowsFormsEditorService, 
    store : Store, 
    reference : ModelBusReference
) : ModelBusReference

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

Implements

IReferencePicker.PickElementReference(ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference)

Remarks

This method is for UITypeEditor usage

.NET Framework Security

See Also

Reference

VSReferencePicker Class

PickElementReference Overload

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