共用方式為


SPFieldTypeDefinitionCollection.Item property (String)

從集合中取得具有指定名稱的欄位型別定義。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    typeName As String _
) As SPFieldTypeDefinition
    Get
'用途
Dim instance As SPFieldTypeDefinitionCollection
Dim typeName As String
Dim value As SPFieldTypeDefinition

value = instance(typeName)
public SPFieldTypeDefinition this[
    string typeName
] { get; }

參數

  • typeName
    Type: System.String

    字串,指定欄位型別定義的名稱。

Property value

Type: Microsoft.SharePoint.SPFieldTypeDefinition
SPFieldTypeDefinition 物件,表示欄位型別定義。

請參閱

參照

SPFieldTypeDefinitionCollection class

SPFieldTypeDefinitionCollection members

Item overload

Microsoft.SharePoint namespace