Partager via


RuleOnAttribute Constructor (Type)

Initializes a new instance of the RuleOnAttribute class.

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

Syntax

'Déclaration
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.Type
    Domain 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

See Also

Reference

RuleOnAttribute Class

RuleOnAttribute Overload

Microsoft.VisualStudio.Modeling Namespace