# UpdateProperties(Object, Object) 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 Object target, Object source ) ``` **F#** ``` F# [] static member UpdateProperties : target : Object * source : Object -> unit ``` #### Parameters
  Object
The target object to act on.
  Object
Source for the new property values.
#### Usage Note In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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