if (TypeDescriptor.GetProperties(this)[propertyName] == null)
            {
                Debug.Fail("无效属性名称: " + propertyName);
            }

 

相关文章: