Export (0) Print
Expand All

SPContentType.Name property

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
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.

The value that is returned by the Name property can be localized so that it changes with the value of the current thread's CurrentUICulture property. For more information, see the DescriptionResource property.

Show:
© 2014 Microsoft