ListViewWebPart.ViewContentTypeId Property
Gets or sets the identifier (ID) of the content type with which the view is associated.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Gets or sets the identifier (ID) of the content type with which the view is associated.