 | ReflectionUtilsSetPropertyExCom Method |
Sets the value of a field or property via Reflection. This method alws
for using '.' syntax to specify objects multiple levels down.
ReflectionUtils.SetPropertyEx(this,"Invoice.LineItemsCount",10)
which would be equivalent of:
Invoice.LineItemsCount = 10;
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static Object SetPropertyExCom(
Object parent,
string property,
Object value
)
Public Shared Function SetPropertyExCom (
parent As Object,
property As String,
value As Object
) As Object
public:
static Object^ SetPropertyExCom(
Object^ parent,
String^ property,
Object^ value
)
static member SetPropertyExCom :
parent : Object *
property : string *
value : Object -> Object
Parameters
- parent
- Type: SystemObject
The parent. - property
- Type: SystemString
The property. - value
- Type: SystemObject
The value.
Return Value
Type:
Object[Missing <returns> documentation for "M:Koden.Utils.ReflectionUtils.SetPropertyExCom(System.Object,System.String,System.Object)"]
See Also