DisplayFormatAttribute.NullDisplayTextResourceType 属性

定义

获取或设置 Type 包含其资源的资源 NullDisplayText

通过 NullDisplayTextResourceType 结合使用 NullDisplayText,该方法可以 GetNullDisplayText() 返回本地化值。

public:
 property Type ^ NullDisplayTextResourceType { Type ^ get(); void set(Type ^ value); };
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public Type? NullDisplayTextResourceType { get; set; }
public Type? NullDisplayTextResourceType { get; set; }
public Type NullDisplayTextResourceType { get; set; }
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]
member this.NullDisplayTextResourceType : Type with get, set
member this.NullDisplayTextResourceType : Type with get, set
Public Property NullDisplayTextResourceType As Type

属性值

属性

适用于