ReflectionSetPropertiesValues Method
Set property values with the same name.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static void SetPropertiesValues(
Object source,
Object target,
string[] excludeProperties = null,
BindingFlags flags = BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic
)
Public Shared Sub SetPropertiesValues (
source As Object,
target As Object,
Optional excludeProperties As String() = Nothing,
Optional flags As BindingFlags = BindingFlags.Instance Or BindingFlags.Public Or BindingFlags.NonPublic
)
Parameters
- source Object
- Object from which property values are read.
- target Object
- Object on which property values are set.
- excludeProperties String (Optional)
- Array with the properties to exclude.
- flags BindingFlags (Optional)
- Property search restrictions.