Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseBindingContainer.AddBinding(String, String, BindingDirection) Method

Adds the SimpleExpressionBinding binding.

[Visual Basic]
Public NotOverridable Overloads Sub AddBinding( _
   ByVal sourceExpression As String, _
   ByVal targetExpression As String, _
   ByVal direction As BindingDirection _
) _
    Implements IBindingContainer.AddBinding
[C#]
public IBinding AddBinding(
   string sourceExpression,
   string targetExpression,
   BindingDirection direction
);

Parameters

sourceExpression
The source expression.
targetExpression
The target expression.
direction
Binding direction.

Return Value

Added SimpleExpressionBinding instance.

Implements

IBindingContainer.AddBinding

See Also

BaseBindingContainer Class | Spring.DataBinding Namespace | BaseBindingContainer.AddBinding Overload List