共用方式為


Store Constructor (IServiceProvider, array<Type )

Initializes a new instance of the Store class.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    ParamArray domainModelTypes As Type() _
)
public Store(
    IServiceProvider serviceProvider,
    params Type[] domainModelTypes
)
public:
Store(
    IServiceProvider^ serviceProvider, 
    ... array<Type^>^ domainModelTypes
)
new : 
        serviceProvider:IServiceProvider * 
        domainModelTypes:Type[] -> Store
public function Store(
    serviceProvider : IServiceProvider, 
    ... domainModelTypes : Type[]
)

Parameters

  • domainModelTypes
    Type: array<System.Type[]
    The list of domain models to be loaded.

Remarks

The domainModelTypes parameter is optional. Therefore zero or more domain models can be specified.

.NET Framework Security

See Also

Reference

Store Class

Store Overload

Microsoft.VisualStudio.Modeling Namespace