Aracılığıyla paylaş


XmlIgnoreOnReadAttribute Class

Definition

Overrides the default serialization of an XML object, used when the object exists for internal operations.

[System.AttributeUsage(System.AttributeTargets.Property)]
public class XmlIgnoreOnReadAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type XmlIgnoreOnReadAttribute = class
    inherit Attribute
Public Class XmlIgnoreOnReadAttribute
Inherits Attribute
Inheritance
XmlIgnoreOnReadAttribute
Attributes

Remarks

This attribute is set on properties that has to be accepted but ignored during deserialization from XMLA. DimensionAttribute.ColumnUsage is an example of deprecated property. It was added for UDM 1200 models. As UDM 1200 is deprecated, some properties are removed from AMO public surface. But AMO still has to handle the case when client is connecting to existing UDM 1200 model that was created using some Excel 2016 CTP1. So AMO must not throw an exception when it sees ColumnUsage element, but ignore the value of ColumnUsage and not serialize it back into XMLA.

Constructors

XmlIgnoreOnReadAttribute()

Applies to