共用方式為


SPFieldGeolocation constructor (SPFieldCollection, String)

初始化根據指定的欄位集合和欄位名稱的SPFieldGeolocation類別的新執行個體。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    fields As SPFieldCollection, _
    fieldName As String _
)
'用途
Dim fields As SPFieldCollection
Dim fieldName As String

Dim instance As New SPFieldGeolocation(fields, _
    fieldName)
public SPFieldGeolocation(
    SPFieldCollection fields,
    string fieldName
)

參數

請參閱

參照

SPFieldGeolocation class

SPFieldGeolocation members

SPFieldGeolocation overload

Microsoft.SharePoint namespace