This topic has not yet been rated - Rate this topic

PropertyInfo.SetValue Method

May 02, 2013

Sets the property value for the given object to the given value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SetValue(Object, Object) Sets the property value of a specified object.
Public method SetValue(Object, Object, Object[]) Sets the value of the property on the specified object, with optional index values for indexed properties.
Public method SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) When overridden in a derived class, sets the property value for the given object to the given value, subject to the specified binding constraints, binder, and culture.
Top

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.