Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DelegatingMessageSource.GetResourceObject(String, CultureInfo) Method

Gets a localized resource object identified by the supplied name.

[Visual Basic]
Public NotOverridable Overloads Sub GetResourceObject( _
   ByVal name As String, _
   ByVal culture As CultureInfo _
) _
    Implements IMessageSource.GetResourceObject
[C#]
public object GetResourceObject(
   string name,
   CultureInfo culture
);

Parameters

name
The name of the resource object to resolve.
culture
The CultureInfo with which the resource is associated.

Return Value

The resolved object, or a null reference (Nothing in Visual Basic) if not found.

Implements

IMessageSource.GetResourceObject

See Also

DelegatingMessageSource Class | Spring.Context.Support Namespace | DelegatingMessageSource.GetResourceObject Overload List | GetResourceObject