XamlDirective.LookupCustomAttributeProvider 方法

定義

傳回 ICustomAttributeProvider 實作。 這個實作一律會傳回 null

C#
protected override sealed System.Reflection.ICustomAttributeProvider LookupCustomAttributeProvider();

傳回

一律傳回 null

備註

因為 XAML 指示詞不能有自訂屬性,所以這個實作一律會傳 null 回 。 XamlDirective 密封此虛擬成員;因此,所有 XamlDirective 類型和所有預先定義的 XAML 指示詞都必須使用此行為。

適用於

產品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10