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.TypeDomain type this rule attaches to.
Permissions
- 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.