ContentByQueryWebPart.ContentTypeBeginsWithId property

Gets or sets the content type ID.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string ContentTypeBeginsWithId { get; set; }

Property value

Type: System.String
An integer representing this content type.
Show: