編輯

共用方式為


IXamlNameResolver.GetAllNamesAndValuesInScope Method

Definition

Returns an enumerable set of all named objects in the XAML namescope.

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

Returns

An enumerable set of KeyValuePair<TKey,TValue> objects. For each KeyValuePair<TKey,TValue>, the Key component is a string, and the Value component is the object that uses the Key name in the XAML namescope.

Applies to