ImplicitResourceKey::Property Property

 

Gets or sets a property and subproperty, if provided, for an implicit resource key.

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

public:
property String^ Property {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A String containing the property and subproperty for an implicit resource expression.

The Property property specifies the control property to be localized. The Property property refers to the value after the first period (.) in an expression. 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. Those keys have Property values of "Text", "Text", and "Forecolor", respectively.

.NET Framework
Available since 2.0
Return to top
Show: