Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# reflection get property value array

Array a = (Array)propertyInfo.GetValue(data);
for(int i = 0; i< a.Length; i++)
{
  object o = a.GetValue(i);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reflection #property #array
ADD COMMENT
Topic
Name
8+1 =