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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)
Syntax
'Declaration
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
- browserType
Type: System.Type
- serviceProvider
Type: System.IServiceProvider
- store
Type: Microsoft.VisualStudio.Modeling.Store
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
- metadata
Type: array<Microsoft.VisualStudio.Modeling.Integration.Picker.PickerMetadataBaseAttribute[]
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace