Condividi tramite


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)
Available in Sandboxed Solutions: No

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