AcceptEmptyServiceProviderAttribute クラス

定義

XAML パーサーとコンパイラに、属性付きクラスのメソッドとコンストラクターで指定されたサービス プロバイダーを無視できることを示します。

[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public sealed class AcceptEmptyServiceProviderAttribute : Attribute
type AcceptEmptyServiceProviderAttribute = class
    inherit Attribute
継承
System.Attribute
AcceptEmptyServiceProviderAttribute
属性
System.AttributeUsageAttribute

注釈

開発者は、この属性は、指定されたサービス プロバイダーの代わりにパーサーが渡 null されないことを保証しないことに注意する必要があります。 これにより、そのことが可能になります。

コンストラクター

AcceptEmptyServiceProviderAttribute()

既定値を使用して新しい AcceptEmptyServiceProviderAttribute を作成します。

適用対象