IReferencePicker.PickModelReference Method (Store, ModelBusReference, PickerMetadataBaseAttribute[])
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
ModelBusReference PickModelReference(
Store store,
ModelBusReference reference,
params PickerMetadataBaseAttribute[] metadata
)
ModelBusReference^ PickModelReference(
Store^ store,
ModelBusReference^ reference,
... array<PickerMetadataBaseAttribute^>^ metadata
)
abstract PickModelReference :
store:Store *
reference:ModelBusReference *
[<ParamArrayAttribute>] metadata:PickerMetadataBaseAttribute[] -> ModelBusReference
Function PickModelReference (
store As Store,
reference As ModelBusReference,
ParamArray metadata As PickerMetadataBaseAttribute()
) As ModelBusReference
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe store which is used as the service provider and on which automatic fixup is performed
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceThe current reference
metadata
Type: Microsoft.VisualStudio.Modeling.Integration.Picker.PickerMetadataBaseAttribute[]Additional metadata for the picker and it's browsers
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The selected reference by the picker
See Also
PickModelReference Overload
IReferencePicker Interface
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting Namespace
Return to top