IReferencePicker.PickElementReferenceNoFixup Method (IServiceProvider, ModelBusReference, array<PickerMetadataBaseAttribute )
Picks a reference using element browser and displays it. Broken references will not be automatically fixed up.
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 ( _
serviceProvider As IServiceProvider, _
reference As ModelBusReference, _
ParamArray metadata As PickerMetadataBaseAttribute() _
) As ModelBusReference
ModelBusReference PickElementReferenceNoFixup(
IServiceProvider serviceProvider,
ModelBusReference reference,
params PickerMetadataBaseAttribute[] metadata
)
ModelBusReference^ PickElementReferenceNoFixup(
IServiceProvider^ serviceProvider,
ModelBusReference^ reference,
... array<PickerMetadataBaseAttribute^>^ metadata
)
abstract PickElementReferenceNoFixup :
serviceProvider:IServiceProvider *
reference:ModelBusReference *
metadata:PickerMetadataBaseAttribute[] -> ModelBusReference
function PickElementReferenceNoFixup(
serviceProvider : IServiceProvider,
reference : ModelBusReference,
... metadata : PickerMetadataBaseAttribute[]
) : ModelBusReference
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider for the various required services
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The current reference
- metadata
Type: array<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
.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
PickElementReferenceNoFixup Overload
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting Namespace