共用方式為


RuleOnAttribute Constructor (String)

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

'宣告
Public Sub New ( _
    attachDomainTypeId As String _
)
public RuleOnAttribute(
    string attachDomainTypeId
)
public:
RuleOnAttribute(
    String^ attachDomainTypeId
)
new : 
        attachDomainTypeId:string -> RuleOnAttribute
public function RuleOnAttribute(
    attachDomainTypeId : String
)

Parameters

  • attachDomainTypeId
    Type: System.String
    ID (GUID) of the domain class, relationship, shape, connector or diagram this rule applies to.

.NET Framework Security

See Also

Reference

RuleOnAttribute Class

RuleOnAttribute Overload

Microsoft.VisualStudio.Modeling Namespace