RuleOnAttribute Constructor (Type)
Initializes a new instance of the RuleOnAttribute class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
attachDomainType As Type _
)
public RuleOnAttribute(
Type attachDomainType
)
public:
RuleOnAttribute(
Type^ attachDomainType
)
new :
attachDomainType:Type -> RuleOnAttribute
public function RuleOnAttribute(
attachDomainType : Type
)
Parameters
attachDomainType
Type: System.TypeDomain class, relationship, shape, connector or diagram this rule attaches to. It can be an abstract class.
Remarks
For more information and examples, see Rules Propagate Changes Within the Model.
.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.