语言

AIAnnotation.AnnotatedRegions 属性

定义

获取或设置批注的任何目标区域,指向关联的 AIContent 此批注适用的位置。

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

属性值

注解

最常见的形式 AnnotatedRegion 是 TextSpanAnnotatedRegion,它提供起始字符索引和结束字符索引 TextContent。

适用于