Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Function PickModelReference ( _
context As ITypeDescriptorContext, _
editorService As IWindowsFormsEditorService, _
store As Store, _
reference As ModelBusReference _
) As ModelBusReference
ModelBusReference PickModelReference(
ITypeDescriptorContext context,
IWindowsFormsEditorService editorService,
Store store,
ModelBusReference reference
)
ModelBusReference^ PickModelReference(
ITypeDescriptorContext^ context,
IWindowsFormsEditorService^ editorService,
Store^ store,
ModelBusReference^ reference
)
abstract PickModelReference :
context:ITypeDescriptorContext *
editorService:IWindowsFormsEditorService *
store:Store *
reference:ModelBusReference -> ModelBusReference
function PickModelReference(
context : ITypeDescriptorContext,
editorService : IWindowsFormsEditorService,
store : Store,
reference : ModelBusReference
) : ModelBusReference
Parameters
context
Type: System.ComponentModel.ITypeDescriptorContextThe context in which the method was invoked
editorService
Type: System.Windows.Forms.Design.IWindowsFormsEditorServiceEnables editing the reference using a custom visual representation based on the DefaultEditStyle
store
Type: Microsoft.VisualStudio.Modeling.StoreThe working store for which the reference is picked
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceThe current reference
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The selected reference by the picker
Remarks
The method used to display the picker in UITypeEditor
.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