IAmbientProvider.GetFirstAmbientValue 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
처음 발견된 속성에 따라 요청된 집합에서 단일 앰비언트 형식 또는 속성 정보 항목을 반환합니다.
오버로드
| Name | Description |
|---|---|
| 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[]
앰비언트 형식 정보를 검색할 형식 집합입니다.
반품
요청된 집합의 첫 번째 결과 개체입니다.
적용 대상
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[]
앰비언트로 간주할 속성을 식별하는 하나 이상의 개체를 지정합니다.
반품
찾은 목록의 첫 번째 앰비언트 속성 값 properties 에 대한 단일 앰비언트 속성 정보 항목입니다.
설명
반환되는 각 AmbientPropertyValue 항목에는 식별자와 속성 값이 포함 XamlMember 됩니다.