PageLayoutCreationInformation.AssociatedContentTypeId property

Gets or sets the content type ID to be associated with the page layout.

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

Syntax

'Declaration
Public Property AssociatedContentTypeId As String
    Get
    Set
'Usage
Dim instance As PageLayoutCreationInformation
Dim value As String

value = instance.AssociatedContentTypeId

instance.AssociatedContentTypeId = value
public string AssociatedContentTypeId { get; set; }

Property value

Type: System.String
The content type ID to be associated with this page layout.

See also

Reference

PageLayoutCreationInformation class

PageLayoutCreationInformation members

Microsoft.SharePoint.Publishing namespace