Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageSource.GetResourceObject(String, CultureInfo) Method

Gets a localized resource object identified by the supplied name.

[Visual Basic]
Public Sub GetResourceObject( _
   ByVal name As String, _
   ByVal culture As CultureInfo _
object GetResourceObject(
   string name,
   CultureInfo culture


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

Return Value

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


Examples of resources that may be resolved by this method include (but are not limited to) objects such as icons and bitmaps.

See Also

IMessageSource Interface | Spring.Context Namespace | IMessageSource.GetResourceObject Overload List