다음을 통해 공유


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)

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