Share via


ChatResponseUpdate.Clone Method

Definition

Creates a new ChatResponseUpdate instance that is a copy of the current object.

public:
 Microsoft::Extensions::AI::ChatResponseUpdate ^ Clone();
public Microsoft.Extensions.AI.ChatResponseUpdate Clone();
member this.Clone : unit -> Microsoft.Extensions.AI.ChatResponseUpdate
Public Function Clone () As ChatResponseUpdate

Returns

A new ChatResponseUpdate object with the same property values as the current instance.

Remarks

The cloned object is a shallow copy; reference-type properties will reference the same objects as the original. Use this method to duplicate the response update for further modification without affecting the original instance.

Applies to