ImplicitResourceKey.KeyPrefix Property
.NET Framework 3.0
Gets or sets the prefix for identifying a group of properties.
Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_KeyPrefix () /** @property */ public void set_KeyPrefix (String value)
public function get KeyPrefix () : String public function set KeyPrefix (value : String)
Not applicable.
Property Value
A String containing the prefix for an implicit resource expression.The KeyPrefix property ties together a collection of properties that can be assigned to a control. The KeyPrefix property refers to the value after the colon (:) in an expression, if present, and before the first period (.). For example, suppose you had an implicit resource in the following form:
<asp:label runat="server" id="label1" meta:resourcekey="Welcome"
text="Welcome"
ie:text="Welcome Internet Explorer User"
forecolor="blue"/>
This resource contains three keys, Welcome.Text, Ie:Welcome.Text, and Welcome.Forecolor, that potentially have localized resource values to retrieve from the resource file or source code. Each key has "Welcome" as the KeyPrefix value.
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.Community Additions
ADD
Show: