Share via


RuleOnAttribute Constructors

Definition

Overloads

RuleOnAttribute(String)

Constructor for class RuleOn. Specify which domain type (in Guid form) this rule attachs to.

RuleOnAttribute(Type)

Constructor for class RuleOn. Specify which domain type this rule attachs to.

RuleOnAttribute(String)

Constructor for class RuleOn. Specify which domain type (in Guid form) this rule attachs to.

public:
 RuleOnAttribute(System::String ^ attachDomainTypeId);
public RuleOnAttribute (string attachDomainTypeId);
new Microsoft.VisualStudio.Modeling.RuleOnAttribute : string -> Microsoft.VisualStudio.Modeling.RuleOnAttribute
Public Sub New (attachDomainTypeId As String)

Parameters

attachDomainTypeId
String

ID (GUID) of the type this rule attaches to.

Applies to

RuleOnAttribute(Type)

Constructor for class RuleOn. Specify which domain type this rule attachs to.

public:
 RuleOnAttribute(Type ^ attachDomainType);
public RuleOnAttribute (Type attachDomainType);
new Microsoft.VisualStudio.Modeling.RuleOnAttribute : Type -> Microsoft.VisualStudio.Modeling.RuleOnAttribute
Public Sub New (attachDomainType As Type)

Parameters

attachDomainType
Type

Domain type this rule attaches to.

Applies to