.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

NonCloneableAttribute Class

Applied to a business class’ property. Specifies that the target property’s value cannot be cloned when cloning objects via the Clone Object Module.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v21.2.dll

Declaration

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class NonCloneableAttribute :
    Attribute
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public sealed class NonCloneableAttribute :
    Attribute

Remarks

You can apply this attribute to a business class’ field or property, to prohibit cloning of its value via the Clone Object Module.

Inheritance

Object
Attribute
NonCloneableAttribute
See Also