Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPView.ContentTypeId property

Gets or sets the ID 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
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPContentTypeId ContentTypeId { get; set; }

Property value

Type: Microsoft.SharePoint.SPContentTypeId
An SPContentTypeId object that represents ID of the content type with which the view is associated.
Show:
© 2015 Microsoft