IReferencePicker.PickModelReferenceNoFixup Method (ITypeDescriptorContext, IWindowsFormsEditorService, IServiceProvider, ModelBusReference)

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

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

Syntax

'Declaration
Function PickModelReferenceNoFixup ( _
    context As ITypeDescriptorContext, _
    editorService As IWindowsFormsEditorService, _
    serviceProvider As IServiceProvider, _
    reference As ModelBusReference _
) As ModelBusReference
ModelBusReference PickModelReferenceNoFixup(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    IServiceProvider serviceProvider,
    ModelBusReference reference
)
ModelBusReference^ PickModelReferenceNoFixup(
    ITypeDescriptorContext^ context, 
    IWindowsFormsEditorService^ editorService, 
    IServiceProvider^ serviceProvider, 
    ModelBusReference^ reference
)
abstract PickModelReferenceNoFixup : 
        context:ITypeDescriptorContext * 
        editorService:IWindowsFormsEditorService * 
        serviceProvider:IServiceProvider * 
        reference:ModelBusReference -> ModelBusReference
function PickModelReferenceNoFixup(
    context : ITypeDescriptorContext, 
    editorService : IWindowsFormsEditorService, 
    serviceProvider : IServiceProvider, 
    reference : ModelBusReference
) : ModelBusReference

Parameters

  • context
    Type: ITypeDescriptorContext

    The context in which the method was invoked

  • editorService
    Type: IWindowsFormsEditorService

    Enables editing the reference using a custom visual representation based on the DefaultEditStyle

  • serviceProvider
    Type: IServiceProvider

    The service provider for the various required services

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The selected reference by the picker

Remarks

The method used to display the picker in UITypeEditor

.NET Framework Security

See Also

Reference

IReferencePicker Interface

PickModelReferenceNoFixup Overload

Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting Namespace