Szerkesztés

Megosztás a következőn keresztül:


ImplicitResourceKey.Property Property

Definition

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

public:
 property System::String ^ Property { System::String ^ get(); void set(System::String ^ value); };
public string Property { get; set; }
member this.Property : string with get, set
Public Property Property As String

Property Value

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

Remarks

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.

Applies to