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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ContentTypeName As String
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String
value = instance.ContentTypeName
instance.ContentTypeName = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string ContentTypeName { get; set; }
Property Value
Type: System.String
A string representing the name of this content type.