Share via


ComparablePropertyDefinition<T>.Constrain Method

Adjusts a value according to the defined property constraints.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Sub Constrain ( _
    ByRef value As T _
)
'Usage
Dim instance As ComparablePropertyDefinition 
Dim value As T

instance.Constrain(value)
public void Constrain(
    ref T value
)
public:
void Constrain(
    T% value
)
member Constrain : 
        value:'T byref -> unit
public function Constrain(
    value : T
)

Parameters

  • value
    Type: T%
    The value to be constrained.

See Also

Reference

ComparablePropertyDefinition<T> Class

Microsoft.ReportingServices.RdlObjectModel Namespace