CodeBlockCode Property

Gets or sets the content of the code block as a string.

Definition

Namespace: GenerativeAI.Core
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public string Code { get; set; }

Property Value

String

Remarks

This property holds the actual code segment stored within the code block. It is typically paired with the Language property to describe the code and its programming language context.

See Also