Partager via


VSReferencePicker.PickReference Method (Type, IServiceProvider, Store, ModelBusReference, array<PickerMetadataBaseAttribute )

Picks a reference not 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
Protected Overridable Function PickReference ( _
    browserType As Type, _
    serviceProvider As IServiceProvider, _
    store As Store, _
    reference As ModelBusReference, _
    ParamArray metadata As PickerMetadataBaseAttribute() _
) As ModelBusReference
protected virtual ModelBusReference PickReference(
    Type browserType,
    IServiceProvider serviceProvider,
    Store store,
    ModelBusReference reference,
    params PickerMetadataBaseAttribute[] metadata
)
protected:
virtual ModelBusReference^ PickReference(
    Type^ browserType, 
    IServiceProvider^ serviceProvider, 
    Store^ store, 
    ModelBusReference^ reference, 
    ... array<PickerMetadataBaseAttribute^>^ metadata
)
abstract PickReference : 
        browserType:Type * 
        serviceProvider:IServiceProvider * 
        store:Store * 
        reference:ModelBusReference * 
        metadata:PickerMetadataBaseAttribute[] -> ModelBusReference 
override PickReference : 
        browserType:Type * 
        serviceProvider:IServiceProvider * 
        store:Store * 
        reference:ModelBusReference * 
        metadata:PickerMetadataBaseAttribute[] -> ModelBusReference 
protected function PickReference(
    browserType : Type, 
    serviceProvider : IServiceProvider, 
    store : Store, 
    reference : ModelBusReference, 
    ... metadata : PickerMetadataBaseAttribute[]
) : 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