Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageSource.GetMessageFromParent Method

Try to retrieve the given message from the parent MessageSource, if any.

[Visual Basic]
Protected Sub GetMessageFromParent( _
   ByVal code As String, _
   ByVal args As Object, _
   ByVal culture As CultureInfo _
)
[C#]
protected string GetMessageFromParent(
   string code,
   object[] args,
   CultureInfo culture
);

Parameters

code
The code to lookup up, such as 'calculator.noRateSet'.
args
array of arguments that will be filled in for params within the message.
culture
The CultureInfo with which the resource is associated.

Return Value

The resolved message if the lookup was successful.

See Also

AbstractMessageSource Class | Spring.Context.Support Namespace