Share via


XmlFormatExtensionPointAttribute.AllowElements 属性

定义

获取或设置一个值,该值指示实现在 MemberName 属性中指定的服务说明格式扩展的类的成员是否可以接受原始 XML 元素。

public:
 property bool AllowElements { bool get(); void set(bool value); };
public bool AllowElements { get; set; }
member this.AllowElements : bool with get, set
Public Property AllowElements As Boolean

属性值

如果实现在 MemberName 属性中指定的服务说明格式扩展的类的成员可以接受原始 XML 元素,则为 true;否则为 false。 默认值为 true

适用于