Partager via


IReferencePicker.PickElementReference Method (Store, ModelBusReference, array<PickerMetadataBaseAttribute )

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

'Déclaration
Function PickElementReference ( _
    store As Store, _
    reference As ModelBusReference, _
    ParamArray metadata As PickerMetadataBaseAttribute() _
) As ModelBusReference
ModelBusReference PickElementReference(
    Store store,
    ModelBusReference reference,
    params PickerMetadataBaseAttribute[] metadata
)
ModelBusReference^ PickElementReference(
    Store^ store, 
    ModelBusReference^ reference, 
    ... array<PickerMetadataBaseAttribute^>^ metadata
)
abstract PickElementReference : 
        store:Store * 
        reference:ModelBusReference * 
        metadata:PickerMetadataBaseAttribute[] -> ModelBusReference 
function PickElementReference(
    store : Store, 
    reference : ModelBusReference, 
    ... metadata : PickerMetadataBaseAttribute[]
) : ModelBusReference

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IReferencePicker Interface

PickElementReference Overload

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