編輯

共用方式為


XamlDirective.LookupTargetType Method

Definition

Returns the XamlType of the type where the XamlMember can exist. This implementation always returns 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

Returns

Always returns null.

Remarks

Target types are not relevant for directives; therefore, this implementation always returns null. XamlDirective seals this virtual member; therefore, all XamlDirective types and all predefined XAML directives must use this behavior.

Applies to

See also