SPFieldTemplateUsage class

Used to track where an instance of the SPField class is used.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPFieldTemplateUsage

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

Syntax

'Declaration
Public NotInheritable Class SPFieldTemplateUsage
'Usage
Dim instance As SPFieldTemplateUsage
public sealed class SPFieldTemplateUsage

Remarks

This class is sealed and cannot be inherited.

A collection of SPFieldTemplateUsage objects is returned by the ListsFieldUsedIn method of the SPField class. Each object in the collection encapsulates information that identifies the Web site where the field is used and the list in the site where it is used.

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.

See also

Reference

SPFieldTemplateUsage members

Microsoft.SharePoint namespace

ListsFieldUsedIn()

SPContentTypeUsage