Home
Library
Learn
Downloads
Support
Community
Forums
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Reflection Namespace
PropertyInfo Class
PropertyInfo Methods
SetValue Method
SetValue Method (Object, Object, Object[])
SetValue Method (Object, Object, BindingFlags, Binder, Object[], CultureInfo)
Related Links
_PropertyInfo.GetIDsOfNames Method
_PropertyInfo.GetType Method
_PropertyInfo.GetTypeInfo Method
_PropertyInfo.GetTypeInfoCount Method
_PropertyInfo.Invoke Method
GetAccessors Method
GetConstantValue Method
GetCustomAttributes Method
GetGetMethod Method
GetIndexParameters Method
GetOptionalCustomModifiers Method
GetRawConstantValue Method
GetRequiredCustomModifiers Method
GetSetMethod Method
GetValue Method
PropertyInfo
.
.
::
.
SetValue Method
This page is specific to:
.NET Framework Version:
1.1
2.0
3.0
3.5
Silverlight 3
4.0
.NET Framework Class Library
PropertyInfo
.
.
::
.
SetValue Method
Sets the property value for the given object to the given value.
Overload List
Name
Description
SetValue(Object, Object,
array<
Object
>
[]
()
[]
)
Sets the value of the property with optional index values for index properties.
SetValue(Object, Object, BindingFlags, Binder,
array<
Object
>
[]
()
[]
, CultureInfo)
When overridden in a derived class, sets the property value for the given object to the given value.
Top
See Also
Reference
PropertyInfo Class
PropertyInfo Members
System.Reflection Namespace
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Yes
No
Do you like the tabbed code blocks?
Yes
No
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View