This documentation is archived and is not being maintained.

SPContentType.Name Property

Windows SharePoint Services 3

Gets or sets the content type name.

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

public string Name { get; set; }

Property Value

Type: System.String
A String object that contains the content type name.

Before you set a value for this property, you should use the ValidateName(String) method to determine whether the proposed name is valid.