Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)
Syntax
'Declaration
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
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: 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
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting Namespace