ImplicitResourceKey Class

Contains fields that identify an implicit resource key.

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

public sealed class ImplicitResourceKey
public final class ImplicitResourceKey
public final class ImplicitResourceKey
Not applicable.

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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0