# UpdateProperties<T>(T, T) Method
An object extension method that updates the properties of a given *target* object with the values from a given *source* object.
## Definition
**Namespace:** CapyKit.Extensions
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.4
**C#**
``` C#
public static void UpdateProperties(
this T target,
T source
)
```
**F#**
``` F#
[]
static member UpdateProperties :
target : 'T *
source : 'T -> unit
```
#### Parameters
- T
- The target object to act on.
- T
- Source for the new property values.
#### Type Parameters
- Generic type parameter.
#### Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type T. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
## See Also
#### Reference
ObjectExtensions Class
UpdateProperties Overload
CapyKit.Extensions Namespace