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 Property Name As String
Dim instance As SPContentType
Dim value As String

value = instance.Name

instance.Name = value

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.