다음을 통해 공유


IAmbientProvider.GetAllAmbientValues 메서드

정의

요청된 범위에 대해 앰비언트 형식 또는 속성 정보 항목의 열거 가능한 집합을 반환합니다.

오버로드

GetAllAmbientValues(XamlType[])

요청된 형식에 대해 가능한 앰비언트 형식의 열거 가능한 개체 인스턴스 집합을 반환합니다.

GetAllAmbientValues(IEnumerable<XamlType>, XamlMember[])

요청된 속성 집합에 대해 앰비언트 속성 정보 항목의 열거 가능한 집합을 반환합니다.

GetAllAmbientValues(IEnumerable<XamlType>, Boolean, IEnumerable<XamlType>, XamlMember[])

요청된 형식 및 속성 집합에 대해 앰비언트 속성 정보 항목의 열거 가능한 집합을 반환합니다.

GetAllAmbientValues(XamlType[])

요청된 형식에 대해 가능한 앰비언트 형식의 열거 가능한 개체 인스턴스 집합을 반환합니다.

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

매개 변수

types
XamlType[]

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

반환

IEnumerable<Object>

요청된 XamlType 식별자 집합에 대한 값을 나타내는 개체의 열거 가능한 집합입니다.

적용 대상

GetAllAmbientValues(IEnumerable<XamlType>, XamlMember[])

요청된 속성 집합에 대해 앰비언트 속성 정보 항목의 열거 가능한 집합을 반환합니다.

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

매개 변수

ceilingTypes
IEnumerable<XamlType>

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

properties
XamlMember[]

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

반환

IEnumerable<AmbientPropertyValue>

요청된 속성 집합에 대한 앰비언트 속성 정보 항목의 열거 가능한 집합입니다. 반환되는 각 AmbientPropertyValue의 속성 정보는 입력 properties 중 하나와 일치하게 됩니다.

설명

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

적용 대상

GetAllAmbientValues(IEnumerable<XamlType>, Boolean, IEnumerable<XamlType>, XamlMember[])

요청된 형식 및 속성 집합에 대해 앰비언트 속성 정보 항목의 열거 가능한 집합을 반환합니다.

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

매개 변수

ceilingTypes
IEnumerable<XamlType>

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

searchLiveStackOnly
Boolean

저장된 컨텍스트를 사용하지 않으려면 true, 저장된 컨텍스트를 사용하려면 false입니다. 기본값은 false입니다.

types
IEnumerable<XamlType>

앰비언트로 간주할 형식을 식별하는 형식 식별자 개체를 하나 이상 지정합니다.

properties
XamlMember[]

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

반환

IEnumerable<AmbientPropertyValue>

요청된 형식 및 속성 집합에 대해 앰비언트 속성 정보 항목의 열거 가능한 집합을 반환합니다. 반환되는 각 AmbientPropertyValue의 속성 정보는 입력 types 또는 properties 중 하나와 일치하게 됩니다.

설명

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

이 특정 GetAllAmbientValues 오버로드는 트리를 통과하는 동일한 패스에서 앰비언트 형식 및 앰비언트 속성을 검색할 수 있습니다. 이 오버로드를 사용하면 반환 값의 항목 순서가 다르거나 GetAllAmbientValues(XamlType[])다릅니다GetAllAmbientValues(IEnumerable<XamlType>, XamlMember[]).

또한 이 오버로드는 검색에서 저장된 컨텍스트를 사용하지 않도록 허용합니다. GetAllAmbientValues(IEnumerable<XamlType>, XamlMember[]) 사용 가능한 경우 저장된 컨텍스트를 암시적으로 사용하거나 GetAllAmbientValues(XamlType[]) 오버로드합니다(항상 암시적 searchLiveStackOnly 매개 변수false인 것처럼 작동). 저장된 컨텍스트의 개념은 특정 XAML 스키마 컨텍스트 또는 XAML을 통합하는 프레임워크에 의해 다르게 처리될 수 있습니다. WPF XAML 구현에서 저장된 컨텍스트는 템플릿 확장 및 기타 기능 영역에 사용됩니다.

적용 대상