你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebSearchPreviewTool.UserLocation Property

Definition

The user's location. Please note Location 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 ApproximateLocation.

public Azure.AI.AgentServer.Contracts.Generated.OpenAI.Location UserLocation { get; set; }
member this.UserLocation : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Location with get, set
Public Property UserLocation As Location

Property Value

Applies to