This topic has not yet been rated - Rate this topic

ListViewWebPart.ViewContentTypeId Property

Gets or sets the identifier (ID) of the content type with which the view is associated.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public string ViewContentTypeId { get; set; }

Property Value

Type: System.String
The ID of the content type with which the view is associated.

If the value to be set is an empty string, the value is set to System.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ