CodeBlockCode Property
Gets or sets the content of the code block as a string.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public string Code { get; set; }
Property Value
String
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.