Partager via


IReferencePicker Interface

Reference picker contract

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

'Declaration
Public Interface IReferencePicker
public interface IReferencePicker
public interface class IReferencePicker
type IReferencePicker =  interface end
public interface IReferencePicker

The IReferencePicker type exposes the following members.

Properties

  Name Description
Public property DefaultEditStyle The edit style for the reference picker in UITypeEditor

Top

Methods

  Name Description
Public method PickElementReference(Store, ModelBusReference, array<PickerMetadataBaseAttribute[]) Picks a reference using element browser and displays it. Supports automatic fixup in the store.
Public method PickElementReference(ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference) Picks a reference using element browser and displays it. Supports automatic fixup in the store.
Public method PickElementReferenceNoFixup(IServiceProvider, ModelBusReference, array<PickerMetadataBaseAttribute[]) Picks a reference using element browser and displays it. Broken references will not be automatically fixed up.
Public method PickElementReferenceNoFixup(ITypeDescriptorContext, IWindowsFormsEditorService, IServiceProvider, ModelBusReference) Picks a reference using element browser and displays it. Supports automatic fixup in the store.
Public method PickModelReference(Store, ModelBusReference, array<PickerMetadataBaseAttribute[]) Picks a reference using model browser and displays it. Supports automatic fixup in the store.
Public method PickModelReference(ITypeDescriptorContext, IWindowsFormsEditorService, Store, ModelBusReference) Picks a reference using model browser and displays it. Supports automatic fixup in the store.
Public method PickModelReferenceNoFixup(IServiceProvider, ModelBusReference, array<PickerMetadataBaseAttribute[]) Picks a reference using model browser and displays it. Broken references will not be automatically fixed up.
Public method PickModelReferenceNoFixup(ITypeDescriptorContext, IWindowsFormsEditorService, IServiceProvider, ModelBusReference) Picks a reference using model browser and displays it. Supports automatic fixup in the store.

Top

See Also

Reference

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