Sets a .NET object property via Reflection.
Use this method if you're dealing with an object such as a generic type of collection or struct that COM doesn't support directly.
o.SetProperty(loInstance,lcProperty,lvValue)
Parameters
loInstance
A .NET object instance
lcProperty
The property to set the value on.
The property can also be a 'nested' property like "Address.Street". Use this syntax if a type along the hierarchy is not accessible by FoxPro (Value type, Generic Type etc.)
lvValue
The value to set to
See also:
Class wwDotNetBridge© West Wind Technologies, 1996-2024 • Updated: 08/03/15
Comment or report problem with topic