DbGeometry.Centroid-Eigenschaft
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Ruft den DbGeometry-Wert ab, der den Schwerpunkt dieses DbGeometry-Werts darstellt, der möglicherweise NULL ist, wenn der Wert keine Oberfläche darstellt.
Namespace: System.Data.Entity.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Centroid", _
Justification := "Naming convention prescribed by OGC specification")> _
Public ReadOnly Property Centroid As DbGeometry
Get
'Usage
Dim instance As DbGeometry
Dim value As DbGeometry
value = instance.Centroid
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Centroid",
Justification = "Naming convention prescribed by OGC specification")]
public DbGeometry Centroid { get; }
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Centroid",
Justification = L"Naming convention prescribed by OGC specification")]
public:
property DbGeometry^ Centroid {
DbGeometry^ get ();
}
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Centroid",
Justification = "Naming convention prescribed by OGC specification")>]
member Centroid : DbGeometry
function get Centroid () : DbGeometry
Eigenschaftswert
Typ: System.Data.Entity.Spatial.DbGeometry
Der DbGeometry-Wert, der den Schwerpunkt dieses DbGeometry-Werts darstellt.