SetValue Method

PropertyInfo.SetValue Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Show:
© 2017 Microsoft