PickerDialog.CreateDialog Method (Type, Store, ModelBusReference, IEnumerable<PickerMetadataBaseAttribute>)
Creates PickerDialog and initializes it based on the parameters
Namespace: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)
Syntax
‘선언
Public Shared Function CreateDialog ( _
modelBrowserType As Type, _
store As Store, _
modelBusReference As ModelBusReference, _
metadata As IEnumerable(Of PickerMetadataBaseAttribute) _
) As PickerDialog
public static PickerDialog CreateDialog(
Type modelBrowserType,
Store store,
ModelBusReference modelBusReference,
IEnumerable<PickerMetadataBaseAttribute> metadata
)
public:
static PickerDialog^ CreateDialog(
Type^ modelBrowserType,
Store^ store,
ModelBusReference^ modelBusReference,
IEnumerable<PickerMetadataBaseAttribute^>^ metadata
)
static member CreateDialog :
modelBrowserType:Type *
store:Store *
modelBusReference:ModelBusReference *
metadata:IEnumerable<PickerMetadataBaseAttribute> -> PickerDialog
public static function CreateDialog(
modelBrowserType : Type,
store : Store,
modelBusReference : ModelBusReference,
metadata : IEnumerable<PickerMetadataBaseAttribute>
) : PickerDialog
Parameters
- modelBrowserType
Type: System.Type
- store
Type: Microsoft.VisualStudio.Modeling.Store
- modelBusReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
- metadata
Type: System.Collections.Generic.IEnumerable<PickerMetadataBaseAttribute>
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker.PickerDialog
Remarks
The store is used for references fixing and as a service provider
.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