XamlType.LookupAllowedContentTypes 메서드

정의

ContentProperty에 대한 XamlType 값으로 사용할 수 있는 형식 목록을 반환합니다.

protected:
 virtual System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ LookupAllowedContentTypes();
protected virtual System.Collections.Generic.IList<System.Xaml.XamlType> LookupAllowedContentTypes ();
abstract member LookupAllowedContentTypes : unit -> System.Collections.Generic.IList<System.Xaml.XamlType>
override this.LookupAllowedContentTypes : unit -> System.Collections.Generic.IList<System.Xaml.XamlType>
Protected Overridable Function LookupAllowedContentTypes () As IList(Of XamlType)

반환

IList<XamlType>

가능한 콘텐츠 형식의 목록입니다.

설명

호출자가 값을 AllowedContentTypes가져오면 이 메서드를 호출할 수 있습니다.

특정 콘텐츠 형식으로 CanAssignTo 평가되는 형식은 용도로 여러 형식 AllowedContentTypes으로 간주되지 않습니다.

기본 구현은 (ContentWrappers, ContentProperty또는ItemType)의 XamlType 다른 속성을 사용하여 결과를 가져올 수 있습니다. Lookup 이전 속성 목록에 대한 재정의도 이 결정에서 호출할 수 있습니다.

기본 내부 CLR 리플렉션에 의존하지 않고 형식의 XAML 형식 시스템 정보 또는 스키마 정보를 보고하기 위해 메타데이터 또는 기타 기술을 사용하는 경우 이 메서드를 재정의합니다.

적용 대상