Share via


OWSDateField.DisplayName Property

NOTE: This API is now obsolete.

Gets or sets the display name for the date field.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("This class has been deprecated.")> _
Public Property DisplayName As String
    Get
    Set
'Usage
Dim instance As OWSDateField
Dim value As String

value = instance.DisplayName

instance.DisplayName = value
[ObsoleteAttribute("This class has been deprecated.")]
public string DisplayName { get; set; }

Property Value

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

See Also

Reference

OWSDateField Class

OWSDateField Members

Microsoft.SharePoint.WebControls Namespace