Skip to main content
.NET 8.0+

DevExpress v25.1 Update — Your Feedback Matters

Our What's New in v25.1 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 you use the Clone Object Module to clone objects.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v25.1.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