Partager via


ContentType.Fields Property

Gets a value that specifies the collection of fields for the content type.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Fields As FieldCollection
    Get
'Usage
Dim instance As ContentType
Dim value As FieldCollection

value = instance.Fields
[RemoteAttribute]
public FieldCollection Fields { get; }

Property Value

Type: Microsoft.SharePoint.Client.FieldCollection
Returns a FieldCollection instance representing the collection of fields for the content type.

See Also

Reference

ContentType Class

ContentType Members

Microsoft.SharePoint.Client Namespace