IAmbientProvider.GetFirstAmbientValue 메서드

정의

어떠한 속성이 먼저 발견되는지를 기준으로 요청된 집합에서 단일 앰비언트 형식 또는 속성 정보 항목을 반환합니다.

오버로드

GetFirstAmbientValue(XamlType[])

요청된 형식에 대해 가능한 앰비언트 형식인 첫 번째 일치 개체를 반환합니다.

GetFirstAmbientValue(IEnumerable<XamlType>, XamlMember[])

어떠한 속성이 먼저 발견되는지를 기준으로 요청된 속성 집합에서 단일 앰비언트 속성 정보 항목을 반환합니다.

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[]

앰비언트 형식 정보를 검색할 형식 집합입니다.

반환

Object

요청된 집합에 대한 첫 번째 결과 개체입니다.

적용 대상

GetFirstAmbientValue(IEnumerable<XamlType>, XamlMember[])

어떠한 속성이 먼저 발견되는지를 기준으로 요청된 속성 집합에서 단일 앰비언트 속성 정보 항목을 반환합니다.

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>

개체 그래프에서 상향 트래버스를 수행할 때 발견될 경우 평가를 중지해야 하는 형식을 하나 이상 지정합니다. 이 형식에는 원하는 앰비언트 속성이 포함됩니다.

properties
XamlMember[]

앰비언트로 간주되어야 하는 속성을 식별하는 개체를 하나 이상 지정합니다.

반환

AmbientPropertyValue

발견된 properties 목록에서 첫 번째 앰비언트 속성 값에 대한 단일 앰비언트 속성 정보 항목입니다.

설명

반환되는 각 AmbientPropertyValue 항목에는 식별자와 속성 값이 포함 XamlMember 됩니다.

적용 대상