TypeConstraintAttribute Constructor
Initializes a new instance of the TypeConstraintAttribute class.
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
Public Sub New ( _
constraint As Type _
)
public TypeConstraintAttribute(
Type constraint
)
public:
TypeConstraintAttribute(
Type^ constraint
)
new :
constraint:Type -> TypeConstraintAttribute
public function TypeConstraintAttribute(
constraint : Type
)
Parameters
constraint
Type: System.TypeThe constraint type.
.NET Framework Security
- 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.