Share via


ThreadMessage.ContentItems Property

Definition

The list of content items associated with the agent thread message. Please note MessageContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MessageImageFileContent and MessageTextContent.

public System.Collections.Generic.IList<Azure.AI.Projects.MessageContent> ContentItems { get; }
member this.ContentItems : System.Collections.Generic.IList<Azure.AI.Projects.MessageContent>
Public ReadOnly Property ContentItems As IList(Of MessageContent)

Property Value

Applies to