PropertyAccessorSetInstanceValue Method

Overload List

SetInstanceValueTInstance, TProperty(TInstance, TProperty) Sets the strongly typed value of a non-indexed instance property in a value type. If the type of the property or the declaring instance is not known at compile time the non-generic Set methods can be used.
SetInstanceValueTInstance, TProperty(TInstance, TProperty) Sets the strongly typed value of a non-indexed instance property in a reference type. If the type of the property or the declaring instance is not known at compile time the non-generic Set methods can be used.
SetInstanceValueTInstance, TProperty, TIndex(TInstance, TProperty, TIndex) Sets the strongly typed value of a single-parameter indexed property in a value type. If the type of the property, the declaring instance or the index parameter is not known at compile time, or the indexer has more than one parameter, then the non-generic Set methods can be used.
SetInstanceValueTInstance, TProperty, TIndex(TInstance, TProperty, TIndex) Sets the strongly typed value of a single-parameter indexed property in a reference type. If the type of the property, the declaring instance or the index parameter is not known at compile time, or the indexer has more than one parameter, then the non-generic Set methods can be used.

See Also