IAmbientProvider.GetFirstAmbientValue メソッド

定義

最初に検出されたプロパティに基づいて、要求されたセットから 1 つのアンビエント型またはプロパティ情報項目を返します。

オーバーロード

名前 説明
GetFirstAmbientValue(XamlType[])

要求された型に対して可能なアンビエント型である最初の一致するオブジェクトを返します。

GetFirstAmbientValue(IEnumerable<XamlType>, XamlMember[])

最初に検出されたプロパティに基づいて、要求されたプロパティ セットから 1 つのアンビエント プロパティ情報項目を返します。

GetFirstAmbientValue(XamlType[])

要求された型に対して可能なアンビエント型である最初の一致するオブジェクトを返します。

public:
 System::Object ^ GetFirstAmbientValue(... cli::array <System::Xaml::XamlType ^> ^ types);
public object GetFirstAmbientValue(params System.Xaml.XamlType[] types);
abstract member GetFirstAmbientValue : System.Xaml.XamlType[] -> obj
Public Function GetFirstAmbientValue (ParamArray types As XamlType()) As Object

パラメーター

types
XamlType[]

アンビエント型情報の取得元となる型のセット。

返品

要求されたセットの最初の結果オブジェクト。

適用対象

GetFirstAmbientValue(IEnumerable<XamlType>, XamlMember[])

最初に検出されたプロパティに基づいて、要求されたプロパティ セットから 1 つのアンビエント プロパティ情報項目を返します。

public:
 System::Xaml::AmbientPropertyValue ^ GetFirstAmbientValue(System::Collections::Generic::IEnumerable<System::Xaml::XamlType ^> ^ ceilingTypes, ... cli::array <System::Xaml::XamlMember ^> ^ properties);
public System.Xaml.AmbientPropertyValue GetFirstAmbientValue(System.Collections.Generic.IEnumerable<System.Xaml.XamlType> ceilingTypes, params System.Xaml.XamlMember[] properties);
abstract member GetFirstAmbientValue : seq<System.Xaml.XamlType> * System.Xaml.XamlMember[] -> System.Xaml.AmbientPropertyValue
Public Function GetFirstAmbientValue (ceilingTypes As IEnumerable(Of XamlType), ParamArray properties As XamlMember()) As AmbientPropertyValue

パラメーター

ceilingTypes
IEnumerable<XamlType>

オブジェクト グラフ内で上方向に走査する場合に評価を停止する必要がある 1 つ以上の型を指定します。 この型は、目的のアンビエント プロパティを保持します。

properties
XamlMember[]

アンビエントと見なされるプロパティを識別する 1 つ以上のオブジェクトを指定します。

返品

見つかった properties リストの最初のアンビエント プロパティ値の 1 つのアンビエント プロパティ情報項目。

注釈

返される各 AmbientPropertyValue には、 XamlMember 識別子とプロパティ値が含まれます。

適用対象