Sdílet prostřednictvím


GeometryValidationResult Class

Definition

Return value of IsValidDetailed() in the Azure Cosmos DB service.

Contains detailed description why a geometyr is invalid.

[Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)]
[System.Runtime.Serialization.DataContract]
public class GeometryValidationResult
[<Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)>]
[<System.Runtime.Serialization.DataContract>]
type GeometryValidationResult = class
Public Class GeometryValidationResult
Inheritance
GeometryValidationResult
Attributes
Newtonsoft.Json.JsonObjectAttribute DataContractAttribute

Constructors

GeometryValidationResult()

Properties

IsValid

Returns a value indicating whether geometry for which IsValidDetailed() was called is valid or not in the Azure Cosmos DB service.

Reason

If geometry is invalid, returns detailed reason in the Azure Cosmos DB service.

Applies to