ResourceDictionary.Values 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得包含於此 ResourceDictionary鍵的所有值集合。
public:
property System::Collections::ICollection ^ Values { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Values { get; }
member this.Values : System.Collections.ICollection
Public ReadOnly Property Values As ICollection
屬性值
所有值的集合。
實作
備註
此性質存在是因為 是 所要求 IDictionary,但通常對大多數 ResourceDictionary 情境並不實用。
回傳的值不包含 MergedDictionaries。 此外,這個集合是基礎字典中值的快照。 如果你之後對這些 ResourceDictionary資料做了更改,儲存 Values 的檔案將不會反映這些變更。