Share via


ListDataFormat.DefaultValue Property

Returns an Object representing the default data type value for a new row in a column. The Nothing object is returned when the schema does not specify a default value. Read-only Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property DefaultValue As Object
    Get
'Usage
Dim instance As ListDataFormat
Dim value As Object

value = instance.DefaultValue
Object DefaultValue { get; }

Property Value

Type: System.Object

Remarks

This property is used only for lists linked to a Microsoft Windows SharePoint Services site.

In Excel, you cannot set any of the properties associated with the ListDataFormat object. You can set these properties, however, by modifying the list on the SharePoint site.

See Also

Reference

ListDataFormat Interface

ListDataFormat Members

Microsoft.Office.Interop.Excel Namespace