GeographyCollectionAggregate 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示给定对象 SqlGeography 集中的地理集合。
[Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Microsoft.SqlServer.Server.Format.UserDefined, IsInvariantToDuplicates=true, IsInvariantToNulls=true, IsInvariantToOrder=true, IsNullIfEmpty=false, MaxByteSize=-1)]
[System.Serializable]
public class GeographyCollectionAggregate : Microsoft.SqlServer.Server.IBinarySerialize
[<Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Microsoft.SqlServer.Server.Format.UserDefined, IsInvariantToDuplicates=true, IsInvariantToNulls=true, IsInvariantToOrder=true, IsNullIfEmpty=false, MaxByteSize=-1)>]
[<System.Serializable>]
type GeographyCollectionAggregate = class
interface IBinarySerialize
Public Class GeographyCollectionAggregate
Implements IBinarySerialize
- 继承
-
GeographyCollectionAggregate
- 属性
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| GeographyCollectionAggregate() |
初始化 类的新实例 GeographyCollectionAggregate 。 |
方法
| 名称 | 说明 |
|---|---|
| Accumulate(SqlGeography) |
将给定 SqlGeography 对象添加到此地理集合中。 |
| Init() |
初始化对象的属性 GeographyCollectionAggregate 。 |
| Merge(GeographyCollectionAggregate) |
将给定 GeographyCollectionAggregate 的集合添加到此地理集合中。 |
| Read(BinaryReader) |
将地理类型的二进制表示形式读入 SqlGeometry 对象。 |
| Terminate() |
返回 SqlGeography 表示地理集合的对象。 |
| Write(BinaryWriter) |
将 SqlGeography 对象写入二进制流。 |