Share via


SPField.TypeDisplayName Property

Gets the display name of the field type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(FixedId := "1", Type := ClientCallableConstraintType.NotEmpty)> _
<ClientCallableConstraintAttribute(FixedId := "2", Type := ClientCallableConstraintType.NotNull)> _
Public Overridable ReadOnly Property TypeDisplayName As String
    Get
'Usage
Dim instance As SPField
Dim value As String

value = instance.TypeDisplayName
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(FixedId = "1", Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableConstraintAttribute(FixedId = "2", Type = ClientCallableConstraintType.NotNull)]
public virtual string TypeDisplayName { get; }

Property Value

Type: System.String
A string that contains the display name of the field type.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace