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