This documentation is archived and is not being maintained.

ImplicitResourceKey Class

Contains fields that identify an implicit resource key.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class ImplicitResourceKey

The ImplicitResourceKey class contains fields that identify an implicit resource key.

An implicit resource is assigned to a control in the following form:

    <asp:label runat="server" id="label1" meta:resourcekey="Welcome"
          ie:text="Welcome Internet Explorer User"  

During page parsing, an implicit resource is converted into explicit keys in the form [filter:][.subproperty]. Any resource values with the specified prefix (in the preceding example, a prefix of Welcome) are assigned to the matching control properties. For example, suppose values exist in the resource file or source code for the following keys:




These values are assigned to their respective control properties.

Implicit resource keys can reference only local resources.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0