Partilhar via


ContentType.Name Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As ContentType
Dim value As String

value = instance.Name

instance.Name = value
[RemoteAttribute]
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