ConfigurationElementSchema.AllowUnrecognizedAttributes 属性

定义

获取一个值,该值指示是否可以将架构中未定义的属性添加到配置元素。

public:
 property bool AllowUnrecognizedAttributes { bool get(); };
public bool AllowUnrecognizedAttributes { get; }
member this.AllowUnrecognizedAttributes : bool
Public ReadOnly Property AllowUnrecognizedAttributes As Boolean

属性值

true 如果元素接受架构中未定义的属性,则为 ;否则为 false

适用于