Freigeben über


ContentByQueryWebPart.ContentTypeName-Eigenschaft

Ruft ab oder legt die ContentTypeName -Eigenschaft.

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; }

Eigenschaftswert

Typ: System.String
Eine Zeichenfolge, die den Namen des Inhaltstyps.

Siehe auch

Referenz

ContentByQueryWebPart Klasse

ContentByQueryWebPart-Member

Microsoft.SharePoint.Publishing.WebControls-Namespace

ContentByQueryWebPart