共用方式為


GeographyCollectionAggregate 類別

此 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Types 命名空間