共用方式為


ImplicitResourceKey.Property 屬性

定義

取得或設定隱含資源鍵的屬性與子屬性(如提供)。

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

屬性值

A String 包含隱含資源表達式的屬性與子屬性。

備註

屬性 Property 指定要局部化的控制屬性。 該 Property 性質指的是表達式中第一個句號(.)之後的值。 例如,假設你有一個隱含資源,形式如下:

<asp:label runat="server" id="label1" meta:resourcekey="Welcome"
        text="Welcome"
        ie:text="Welcome Internet Explorer User"
        forecolor="blue"/>

此資源包含三個鍵,分別為 Welcome.Text、 、 Ie:Welcome.TextWelcome.Forecolor和 ,這些鍵具有可在資源檔案或原始碼中擷取的在地資源值。 這些鍵分別具有 Property 、 和 "Text""Forecolor""Text"

適用於