ChatResponseUpdate.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.