Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

#Declaration

[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