类库说明文档
![]() | JHPropertySetValue Method (Object, PropertyInfo, Object) |
设置指定对象属性 (Property) 的值,如果该属性不存在或不可写,或者设置的值无效,则返回
Namespace: DCSoft.Utility.Reflection
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)

C#
public static void SetValue( Object obj, PropertyInfo info, Object value )
Parameters
- obj
- Type: SystemObject
将设置其属性 (Property) 值的对象 - info
- Type: System.ReflectionPropertyInfo
属性 (Property) 的属性 (Attribute) - value
- Type: SystemObject
此属性的新值
