SPField.UsedInWebContentTypes Property

Gets a Boolean value that indicates whether the field is implemented in any content type that is used in the site collection.

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


Public ReadOnly Property UsedInWebContentTypes As Boolean
Dim instance As SPField
Dim value As Boolean

value = instance.UsedInWebContentTypes
public bool UsedInWebContentTypes { get; }

Property Value

Type: System.Boolean
true if the field is implemented in any site collection content type; otherwise, false.

See Also


SPField Class

SPField Members

Microsoft.SharePoint Namespace