 | propertyAnnotationPresetSetFrom Method (Type, Boolean) |
imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets or updates the preset using data annotations from type
Namespace:
imbSCI.Core.style.preset
Assembly:
imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntaxpublic void SetFrom(
Type type,
bool skipExistingAnnotations = true
)
Request Example
View SourceParameters
- type
- Type: SystemType
Type to read data annotation attributes from - skipExistingAnnotations (Optional)
- Type: SystemBoolean
if set to true, it will not update already defined data annotation rule of a property.
See Also