ContentByQueryWebPart.ContentTypeBeginsWithId property
Gets or sets the content type ID.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property ContentTypeBeginsWithId As String
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String
value = instance.ContentTypeBeginsWithId
instance.ContentTypeBeginsWithId = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string ContentTypeBeginsWithId { get; set; }
Property value
Type: System.String
An integer representing this content type.