Share 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)

Syntax

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

value = instance(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