SiteMapProvider.ResourceKey 屬性

定義

取得或設定用來當地語系化 SiteMapNode 屬性的資源索引鍵。

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

屬性值

含有資源索引鍵名稱的字串。

備註

屬性 ResourceKey 會與 類別的 SiteMapNode 方法搭配 GetImplicitResourceString 使用。 Title針對 和 Description 屬性,以及物件集合 SiteMapNodeAttributes 定義的任何其他屬性,當屬性設定為 trueEnableLocalizationGetImplicitResourceString 方法的優先順序高於 GetExplicitResourceString

適用於

另請參閱