Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultWebCultureResolver.GetCulture Method

Resolves a culture by name.

[Visual Basic]
Public Sub GetCulture( _
   ByVal cultureName As String _
)
[C#]
public CultureInfo GetCulture(
   string cultureName
);

Parameters

cultureName
the name of the culture to get

Return Value

a (possible neutral!) CultureInfo or null, if culture could not be resolved

See Also

DefaultWebCultureResolver Class | Spring.Globalization.Resolvers Namespace