Skip to content

SetProperty Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.dll

void SetProperty(T obj, string name, object value) ​

csharp
void SetProperty(T obj, string name, object value)

Sets the value of a property on a POCO or an ExpandoObject.

Type parameters ​

NameDescription
TThe type of the object.

Parameters ​

NameDescription
nameThe name of the property to set.
objThe object instance (POCO or ExpandoObject).
valueThe value to assign to the property.