System.Web.Compilation.IResourceProvider.GetObject Method

Returns a resource object for the key and culture.

Syntax

public object GetObject (string resourceKey, System.Globalization.CultureInfo culture)

Parameters

resourceKey
The key identifying a particular resource.
culture
The culture identifying a localized value for the resource.

Returns

An object that contains the resource value for the resourceKey and culture.

Remarks

When implemented, the IResourceProvider.GetObject(string, System.Globalization.CultureInfo) method returns the localized value for a resource key based on the current culture. The implementing class could retrieve the System.Globalization.CultureInfo.CurrentUICulture property if a value for the culture parameter is not passed in.

Requirements

Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0