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.v19.2.dll
Declaration
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public sealed class NonCloneableAttribute :
Attribute
<AttributeUsage(AttributeTargets.Property Or AttributeTargets.Field)>
Public NotInheritable Class NonCloneableAttribute
Inherits Attribute
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class NonCloneableAttribute :
Attribute
<AttributeUsage(AttributeTargets.Field Or AttributeTargets.Property)>
Public NotInheritable Class NonCloneableAttribute
Inherits Attribute
You can apply this attribute to a business class’ field or property, to prohibit cloning of its value via the Clone Object Module.
See Also