Share via


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

 

Picks a reference using element browser and displays it. Supports automatic fixup in the store.

Namespace:   Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

ModelBusReference PickElementReference(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    Store store,
    ModelBusReference reference
)
ModelBusReference^ PickElementReference(
    ITypeDescriptorContext^ context,
    IWindowsFormsEditorService^ editorService,
    Store^ store,
    ModelBusReference^ reference
)
abstract PickElementReference : 
        context:ITypeDescriptorContext *
        editorService:IWindowsFormsEditorService *
        store:Store *
        reference:ModelBusReference -> ModelBusReference
Function PickElementReference (
    context As ITypeDescriptorContext,
    editorService As IWindowsFormsEditorService,
    store As Store,
    reference As ModelBusReference
) As ModelBusReference

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

The selected reference by the picker

Remarks

The method used to display the picker in UITypeEditor

See Also

PickElementReference Overload
IReferencePicker Interface
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting Namespace

Return to top