XmlTypeAttribute.AnonymousType 属性

定义

获取或设置一个值,该值确定生成的构架类型是否为 XSD 匿名类型。

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

属性值

Boolean

如果结果架构类型为 XSD 匿名类型,则为 true;否则为 false

适用于