Share via


ContentType.Name property

Gets or sets a value that specifies the name of the content type.

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

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As String

value = instance.Name

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

Property value

Type: System.String
Returns a String instance representing the name of the content type.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

ContentType class

ContentType members

Microsoft.SharePoint.Client namespace