XamlType.ContentWrappers 속성

정의

콘텐츠 속성이 강력한 형식의 Collection<T>에 있는 문자열과 같이 엄격한 형식 일치가 아닐 때 콘텐츠 속성의 콘텐츠를 래핑하는 데 사용되는 형식을 가져옵니다.

public:
 property System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ ContentWrappers { System::Collections::Generic::IList<System::Xaml::XamlType ^> ^ get(); };
public System.Collections.Generic.IList<System.Xaml.XamlType> ContentWrappers { get; }
member this.ContentWrappers : System.Collections.Generic.IList<System.Xaml.XamlType>
Public ReadOnly Property ContentWrappers As IList(Of XamlType)

속성 값

IList<XamlType>

가능한 콘텐츠 래퍼 형식의 읽기 전용 컬렉션이거나, 그렇지 않으면 null입니다.

설명

형식 일치 완화를 고려할 래퍼가 없는 경우 이 속성은 .입니다 null.

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

In the CLR binding for System.Xaml and XamlType, the XAML content wrapper type can be specified on a type as a ContentWrapperAttribute.

기본 내부 CLR 리플렉션 기술을 사용하지 않는 경우 이 속성에 대한 XamlType호출은 파생 클래스에서 XamlType 재정의를 호출 LookupContentWrappers 할 수 있습니다. 반환 값 및 기타 동작에 대한 자세한 내용은 이 형식에 대한 LookupContentWrappers 설명서를 참조하세요.

적용 대상