Condividi tramite


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

Syntax

'Declaration
Public ReadOnly Property UsedInWebContentTypes As Boolean
    Get
'Usage
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

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace