Share via


View.ContentTypeId property

Gets or sets the identifier of the content type with which the view is associated so that the view is available only on folders of this content type.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property ContentTypeId As ContentTypeId
    Get
    Set
'Usage
Dim instance As View
Dim value As ContentTypeId

value = instance.ContentTypeId

instance.ContentTypeId = value
public ContentTypeId ContentTypeId { get; set; }

Property value

Type: Microsoft.SharePoint.Client.ContentTypeId
Returns a ContentTypeId instance representing the identifier of the content type with which the view is associated so that the view is available only on folders of this content type.

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace