此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a geography collection from the given set of SqlGeography objects.
继承层次结构
System.Object
Microsoft.SqlServer.Types.GeographyCollectionAggregate
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)
语法
声明
<SerializableAttribute> _
<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates := True, _
IsInvariantToNulls := True, IsInvariantToOrder := True, _
IsNullIfEmpty := False, MaxByteSize := )> _
Public Class GeographyCollectionAggregate _
Implements IBinarySerialize
用法
Dim instance As GeographyCollectionAggregate
[SerializableAttribute]
[SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates = true,
IsInvariantToNulls = true, IsInvariantToOrder = true,
IsNullIfEmpty = false, MaxByteSize = )]
public class GeographyCollectionAggregate : IBinarySerialize
[SerializableAttribute]
[SqlUserDefinedAggregateAttribute(Format::UserDefined, IsInvariantToDuplicates = true,
IsInvariantToNulls = true, IsInvariantToOrder = true,
IsNullIfEmpty = false, MaxByteSize = )]
public ref class GeographyCollectionAggregate : IBinarySerialize
[<SerializableAttribute>]
[<SqlUserDefinedAggregateAttribute(Format.UserDefined, IsInvariantToDuplicates = true,
IsInvariantToNulls = true, IsInvariantToOrder = true,
IsNullIfEmpty = false, MaxByteSize = )>]
type GeographyCollectionAggregate =
class
interface IBinarySerialize
end
public class GeographyCollectionAggregate implements IBinarySerialize
GeographyCollectionAggregate 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
GeographyCollectionAggregate | 基础结构。Initializes a new instance of GeographyCollectionAggregate class. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Accumulate | 基础结构。Adds the given SqlGeography object into this geography collection. |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
Init | 基础结构。Initializes the properties of a GeographyCollectionAggregate object. |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
Merge | 基础结构。Adds the given GeographyCollectionAggregate collection into this geography collection. |
![]() |
Read | 基础结构。Reads a binary representation of a geography type into a SqlGeometry object. |
![]() |
Terminate | 基础结构。Returns the SqlGeography object that represents the geography collection. |
![]() |
ToString | (从 Object 继承。) |
![]() |
Write | 基础结构。Writes a SqlGeography object to a binary stream. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。