SqlSpatialFunctions.Filter Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.
Filter(DbGeography, DbGeography) |
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. |
Filter(DbGeometry, DbGeometry) |
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. |
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.
public:
static Nullable<bool> Filter(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ geographyOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> Nullable<bool>
Public Shared Function Filter (geographyValue As DbGeography, geographyOther As DbGeography) As Nullable(Of Boolean)
Parameters
- geographyValue
- DbGeography
The geography value.
- geographyOther
- DbGeography
Another geography instance to compare against the instance on which Filter is invoked.
Returns
true
if a geography instance potentially intersects another SqlGeography instance; otherwise, false
.
- Attributes
Applies to
.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.
public:
static Nullable<bool> Filter(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ geometryOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> Nullable<bool>
Public Shared Function Filter (geometryValue As DbGeometry, geometryOther As DbGeometry) As Nullable(Of Boolean)
Parameters
- geometryValue
- DbGeometry
The geometry value.
- geometryOther
- DbGeometry
Another geography instance to compare against the instance on which Filter is invoked.
Returns
true
if a geography instance potentially intersects another SqlGeography instance; otherwise, false
.
- Attributes
Applies to
.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: