共用方式為


SPFieldLookup constructor (SPFieldCollection, String, String)

初始化根據指定的欄位集合、 型別名稱和顯示名稱的SPFieldLookup類別的新執行個體。

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

Syntax

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

Dim instance As New SPFieldLookup(fields, _
    typeName, displayName)
public SPFieldLookup(
    SPFieldCollection fields,
    string typeName,
    string displayName
)

參數

  • typeName
    Type: System.String

    表示**[T:Microsoft.SharePoint.SPFieldTypeHYPERLINK"ms-help://MS.SPF14SDK.en/SPF14MrefCore/html/0abfd134-97e1-7c31-5a9b-2cd621527dcb.htm"]**值欄位的型別。

請參閱

參照

SPFieldLookup class

SPFieldLookup members

SPFieldLookup overload

Microsoft.SharePoint namespace