XamlDirective.LookupType 方法

定义

返回成员所使用的类型的 XamlType

protected:
 override System::Xaml::XamlType ^ LookupType();
protected override sealed System.Xaml.XamlType LookupType ();
override this.LookupType : unit -> System.Xaml.XamlType
Protected Overrides NotOverridable Function LookupType () As XamlType

返回

成员所使用的类型的 XamlType

注解

实现 XamlDirective 仅调用 base,不执行其他任何作用。 基实现基于内部反射或检查 null 值 UnderlyingMember返回结果,并按该顺序进行处理。 XamlDirective 密封此虚拟成员;因此,所有 XamlDirective 类型和所有预定义的 XAML 指令都必须使用此行为。

有关信息Type携带的详细信息,请参阅 中的XamlMember.LookupType“备注”。

适用于

另请参阅