RuleOnAttribute Constructor (Type)

Initializes a new instance of the RuleOnAttribute class.

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

Syntax

'宣言
Public Sub New ( _
    attachDomainType As Type _
)
'使用
Dim attachDomainType As Type

Dim instance As New RuleOnAttribute(attachDomainType)
public RuleOnAttribute(
    Type attachDomainType
)
public:
RuleOnAttribute(
    Type^ attachDomainType
)
public function RuleOnAttribute(
    attachDomainType : Type
)

Parameters

  • attachDomainType
    Type: System.Type

    Domain type this rule attaches to.

Permissions

See Also

Reference

RuleOnAttribute Class

RuleOnAttribute Members

RuleOnAttribute Overload

Microsoft.VisualStudio.Modeling Namespace