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 做為前置詞的任何屬性都應該以此方法傳回。

適用於

另請參閱