Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
customCategories As String(), _
subjects As IEnumerable(Of ModelElement), _
serviceProvider As IServiceProvider, _
modelExplorerToolWindowType As Type _
)
'使用
Dim customCategories As String()
Dim subjects As IEnumerable(Of ModelElement)
Dim serviceProvider As IServiceProvider
Dim modelExplorerToolWindowType As Type
Dim instance As New VsValidationContext(customCategories, _
subjects, serviceProvider, modelExplorerToolWindowType)
public VsValidationContext(
string[] customCategories,
IEnumerable<ModelElement> subjects,
IServiceProvider serviceProvider,
Type modelExplorerToolWindowType
)
public:
VsValidationContext(
array<String^>^ customCategories,
IEnumerable<ModelElement^>^ subjects,
IServiceProvider^ serviceProvider,
Type^ modelExplorerToolWindowType
)
public function VsValidationContext(
customCategories : String[],
subjects : IEnumerable<ModelElement>,
serviceProvider : IServiceProvider,
modelExplorerToolWindowType : Type
)
Parameters
- customCategories
Type: []
- subjects
Type: System.Collections.Generic.IEnumerable<ModelElement>
- serviceProvider
Type: System.IServiceProvider
- modelExplorerToolWindowType
Type: System.Type
Permissions
- 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.