ImplicitResourceKey.Property 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定隱含資源鍵的屬性與子屬性(如提供)。
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"