TypeConstraintAttribute.Constraint 屬性

取得限制類型。

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

語法

'宣告
Public Property Constraint As Type
'用途
Dim instance As TypeConstraintAttribute
Dim value As Type

value = instance.Constraint
public Type Constraint { get; }
public:
property Type^ Constraint {
    Type^ get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public Type get_Constraint ()
CompilerGeneratedAttribute 
public function get Constraint () : Type

執行緒安全性

此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。

另請參閱

參照

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