Partilhar via


SPFieldTypeDefinitionCollection.Item Property (String)

Gets the field type definition with the specified name from the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Item ( _
    typeName As String _
) As SPFieldTypeDefinition
    Get
'Usage
Dim instance As SPFieldTypeDefinitionCollection
Dim typeName As String
Dim value As SPFieldTypeDefinition

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

Parameters

  • typeName
    Type: System.String

    A string that specifies the name of the field type definition.

Property Value

Type: Microsoft.SharePoint.SPFieldTypeDefinition
An SPFieldTypeDefinition object that represents the field type definition.

See Also

Reference

SPFieldTypeDefinitionCollection Class

SPFieldTypeDefinitionCollection Members

Item Overload

Microsoft.SharePoint Namespace