Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnSerializeObjectEventArgs Class : SkipObject Property |
public bool SkipObject {get; set;}
'Declaration
Public Property SkipObject As Boolean
public bool SkipObject {get; set;}
@property (nonatomic,assign) BOOL skipObject;
public boolean getSkipObject() public void setSkipObject(boolean value)
get_SkipObject();
set_SkipObject(value);
Object.defineProperty('SkipObject');
If this object is triggered with the AnnDeserializeOptions.DeserializeObject event, then you can set the value of SkipObject to true. This will instruct AnnCodecs to skip this object and continue to the next. This is useful if in scenarios when you do not want to load certain object types or objects with certain properties.
If this object is trigged with the AnnDeserializeOptions.DeserializeObjectError event, then you can set the value of this property to true to instruct AnnCodecs to ignore the error, skip loading this object and continue to the next.
If this object is trigged with the AnnSerializeOptions.SerializeObject event, then you can set the value of this property to true to skip loading the object in AnnObject with type in TypeName and continue to the next.
For an example, refer to AnnSerializeOptions and AnnDeserializeOptions.