Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseBindingContainer.AddBinding(String, String) Method

Adds the SimpleExpressionBinding binding with a default binding direction of Bidirectional.

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

Parameters

sourceExpression
The source expression.
targetExpression
The target expression.

Return Value

Added SimpleExpressionBinding instance.

Implements

IBindingContainer.AddBinding

See Also

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