Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get object property value by name

return car.GetType().GetProperty(propertyName).GetValue(car, null);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #property
ADD COMMENT
Topic
Name
2+6 =