XamlDirective.LookupTargetType 方法

定义

返回其中可能存在 XamlType 的类型的 XamlMember。 此实现始终返回 null

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

返回

XamlType

始终返回 null

注解

目标类型与指令无关;因此,此实现始终返回 nullXamlDirective 密封此虚拟成员;因此,所有 XamlDirective 类型和所有预定义的 XAML 指令都必须使用此行为。

适用于

另请参阅