Share via


ImageGenerationResponse.Contents Property

Definition

Gets or sets the generated content items.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ Contents { System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> Contents { get; set; }
member this.Contents : System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> with get, set
Public Property Contents As IList(Of AIContent)

Property Value

Remarks

Content is typically DataContent for images streamed from the generator, or UriContent for remotely hosted images, but can also be provider-specific content types that represent the generated images.

Applies to