ReflectionSetPropertiesValues Method

Set property values with the same name.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static void SetPropertiesValues(
	Object source,
	Object target,
	string[] excludeProperties = null,
	BindingFlags flags = BindingFlags.Instance|BindingFlags.Public|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.

See Also