IXamlNameResolver.GetAllNamesAndValuesInScope 方法

定义

返回 XAML 名称范围中所有命名对象的可枚举集合。

public:
 System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ GetAllNamesAndValuesInScope();
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> GetAllNamesAndValuesInScope ();
abstract member GetAllNamesAndValuesInScope : unit -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
Public Function GetAllNamesAndValuesInScope () As IEnumerable(Of KeyValuePair(Of String, Object))

返回

IEnumerable<KeyValuePair<String,Object>>

KeyValuePair<TKey,TValue> 对象的可枚举集合。 对于每个 KeyValuePair<TKey,TValue>Key 组件为字符串,Value 组件为在 XAML 名称范围中使用 Key 名称的对象。

适用于