Språk

IXamlNameResolver.GetAllNamesAndValuesInScope Metod

Definition

Returnerar en uppräkningsbar uppsättning med alla namngivna objekt i XAML-namnskopet.

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))

Returer

En uppräkningsbar uppsättning KeyValuePair<TKey,TValue> objekt. För varje KeyValuePair<TKey,TValue>är komponenten Key en sträng och komponenten Value är det objekt som använder Key namnet i XAML-namnskopet.

Gäller för