SPFieldTypeDefinitionCollection Class
Represents a collection of SPFieldTypeDefinition objects.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPFieldTypeDefinitionCollection
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPFieldTypeDefinitionCollection _
Inherits SPBaseCollection
Dim instance As SPFieldTypeDefinitionCollection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPFieldTypeDefinitionCollection : SPBaseCollection
Remarks
Use the FieldTypeDefinitionCollection property of the SPWeb class to return the collection of field type definitions for a Web site.
Use an indexer to return a single field type definition from the collection. For example, if the collection is assigned to a variable named myFieldTypeDefinitions, use myFieldTypeDefinitions[index] in C#, or myFieldTypeDefinitions(index) in Visual Basic, where index is either the name or the index number of the field type definition in the collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.