ModelExplorerTreeContainer.SubscribeToImsEvent Method
Subscribes to in-memory store events.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Overridable Sub SubscribeToImsEvent ( _
newStore As Store _
)
'使用
Dim newStore As Store
Me.SubscribeToImsEvent(newStore)
protected virtual void SubscribeToImsEvent(
Store newStore
)
protected:
virtual void SubscribeToImsEvent(
Store^ newStore
)
protected function SubscribeToImsEvent(
newStore : Store
)
Parameters
newStore
Type: Microsoft.VisualStudio.Modeling.StoreThe Store to use.
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.
See Also
Concepts
Walkthrough: Adding Validation to a Domain Model
Reference
ModelExplorerTreeContainer Class