Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Studio SDK
ChangeRule Class
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Domain-Specific Language Tools Reference
ChangeRule Class

Updated: November 2007

Represents a rule that is called when a change happens to an element in the model.

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

Visual Basic (Declaration)
Public MustInherit Class ChangeRule _
    Inherits Rule
Visual Basic (Usage)
Dim instance As ChangeRule
C#
public abstract class ChangeRule : Rule
Visual C++
public ref class ChangeRule abstract : public Rule
JScript
public abstract class ChangeRule extends Rule

A RuleOnAttribute attribute placed on the class indicates what type of object the rule works on and when the rule should fire, either inline, local transaction commit, or top level transaction commit.

The rule is called when a change occurs to the object of the specified type in the model, whether the change is made in the UI or programmatically.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker