This topic has not yet been rated - Rate this topic

SPContentType.Name property

Gets or sets the content type name.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableAttribute]
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.