 | ReflectionUtilsGetProperty Method |
Retrieve a property value from an object dynamically. This is a simple version
that uses Reflection calls directly. It doesn't support indexers.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static Object GetProperty(
Object instance,
string property
)
Public Shared Function GetProperty (
instance As Object,
property As String
) As Object
public:
static Object^ GetProperty(
Object^ instance,
String^ property
)
static member GetProperty :
instance : Object *
property : string -> Object
Parameters
- instance
- Type: SystemObject
Object to make the call on - property
- Type: SystemString
Property to retrieve
Return Value
Type:
ObjectObject - cast to proper type
See Also