System.Web 2.0.0.0 System.Object

When a page is parsed, the values contained in a resource expression are parsed and stored in an instance of the class. This object contains two fields, and . These fields are drawn from the values of a resource expression in either the explicit (<%$ Resources: ClassKey, ResourceKey %>) or implicit (meta:resourcekey="ResourceKey") form.

The property identifies the class name of a resource that is mapped to a resource file. For example, to reference a resource file named Financial.resx, or a localized version such as Financial.en-GB.resx, the resource expression would appear as <%$ Resources: Financial, ResourceKey %>. After parsing, the property would return "Financial" as its value.

The property identifies the particular key/value pair to be retrieved from the file. If the Financial.resx file contains a key called Currency, that value could be specified with the resource expression <%$ Resources: Financial, Currency %>. After parsing, the property would return "Currency" as its value.

The resource expression is parsed through the method.

Sensitive information should not be stored in a resource file.

Contains the fields from a parsed resource expression.

- Property
  System.String To be added.

  This method returns the class key for a parsed resource expression. The class key represents the name of the resource file, and is the value specified before the comma (,) in an expression of the form <%$ Resources: [Namespace.]ClassKey, ResourceKey $>. A namespace value for the resource class is optional. When a namespace is provided, the namespace and the class key are returned in the property. The class key cannot contain spaces or double-byte character sets (DBCS).

  To reference a resource file named Financial.resx or a localized version such as Financial.en-GB.resx, you would include the resource expression <%$ Resources: Financial, ResourceKey %>. After parsing, the property would return "Financial" as its value.

  Sensitive information should not be stored in a resource file.

  Gets the class key for a parsed resource expression.

  2.0.0.0
- Property
  System.String To be added.

  This method returns the resource key for a parsed resource expression. The resource key is the value specified after the comma (,) in an expression of the form <%$ Resources: ClassKey, ResourceKey %>. The property identifies a particular key/value pair within the resource file mapped to the class key. For example, if a file named Financial.resx contains a key called Currency, that value could be specified with the resource expression <%$ Resources: Financial, Currency %>. After parsing, the property would return "Currency" as its value.

  Sensitive information should not be stored in a resource file.

  Gets the resource key for a parsed resource expression.

  2.0.0.0