<?xml version="1.0" encoding="UTF-8"?>
int count = System. ComponentModel.TypeDescriptor .GetProperties( StudyInfo).Count ;
System.Diagnostics .Debug. WriteLine(count .ToString());
转载于:https://blog.51cto.com/muzizongheng/1333111