TypeConstraintAttribute 建構函式

初始化 TypeConstraintAttribute 類別的新例項。

命名空間: System.Windows.Interactivity
組件: System.Windows.Interactivity (在 system.windows.interactivity.dll 中)

語法

'宣告
Public Sub New ( _
    constraint As Type _
)
'用途
Dim constraint As Type

Dim instance As New TypeConstraintAttribute(constraint)
public TypeConstraintAttribute (
    Type constraint
)
public:
TypeConstraintAttribute (
    Type^ constraint
)
public TypeConstraintAttribute (
    Type constraint
)
public function TypeConstraintAttribute (
    constraint : Type
)

另請參閱

參照

TypeConstraintAttribute 類別
TypeConstraintAttribute 成員
System.Windows.Interactivity 命名空間