共用方式為


IReferencePicker.PickElementReferenceNoFixup Method (ITypeDescriptorContext, IWindowsFormsEditorService, IServiceProvider, 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'宣告
Function PickElementReferenceNoFixup ( _
    context As ITypeDescriptorContext, _
    editorService As IWindowsFormsEditorService, _
    serviceProvider As IServiceProvider, _
    reference As ModelBusReference _
) As ModelBusReference
ModelBusReference PickElementReferenceNoFixup(
    ITypeDescriptorContext context,
    IWindowsFormsEditorService editorService,
    IServiceProvider serviceProvider,
    ModelBusReference reference
)
ModelBusReference^ PickElementReferenceNoFixup(
    ITypeDescriptorContext^ context, 
    IWindowsFormsEditorService^ editorService, 
    IServiceProvider^ serviceProvider, 
    ModelBusReference^ reference
)
abstract PickElementReferenceNoFixup : 
        context:ITypeDescriptorContext * 
        editorService:IWindowsFormsEditorService * 
        serviceProvider:IServiceProvider * 
        reference:ModelBusReference -> ModelBusReference 
function PickElementReferenceNoFixup(
    context : ITypeDescriptorContext, 
    editorService : IWindowsFormsEditorService, 
    serviceProvider : IServiceProvider, 
    reference : ModelBusReference
) : 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

.NET Framework Security

See Also

Reference

IReferencePicker Interface

PickElementReferenceNoFixup Overload

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