ThreadMessage.ContentItems Property
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.
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)