Applied to a business class. Specifies the business class' string property, which can hold the property values that were not cloned.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public sealed class NotClonedInfoAttribute : Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface)> Public NotInheritable Class NotClonedInfoAttribute Inherits Attribute Implements
This attribute is considered when cloning objects via the Clone Object Module. The NotClonedInfo attribute's constructor takes a single string parameter. The parameter specifies the string property which can hold the property values that were not cloned.
When the actual type of the object being cloned differs from the target type, there may be properties which do not exist in the target type. You can apply the NotClonedInfo attribute to the target business class and specify a string property. In this instance, the values of the non-existent properties will be converted to the string representation, and stored to the specified property. Property values are separated by a semicolon.