IImplicitResourceProvider.GetImplicitResourceKeys(String) 方法

定義

會獲得一組由前綴指定的隱含資源金鑰。

public:
 System::Collections::ICollection ^ GetImplicitResourceKeys(System::String ^ keyPrefix);
public System.Collections.ICollection GetImplicitResourceKeys(string keyPrefix);
abstract member GetImplicitResourceKeys : string -> System.Collections.ICollection
Public Function GetImplicitResourceKeys (keyPrefix As String) As ICollection

參數

keyPrefix
String

隱含資源金鑰的前綴。

傳回

一個 ICollection 隱含資源金鑰的集合。

備註

實作後,該方法會回傳一組特定前綴的隱含資源鍵。 例如, WelcomeLabel 在表達式 meta:resourcekey="WelcomeLabel"中指定為前綴。 本地資源檔中以 WelcomeLabel 前綴為前綴的屬性,應該會用此方法回傳。

適用於

另請參閱