Compartilhar via


DataTable.Creator Property

Returns a 32-bit integer that indicates the application in which this object was created.

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

Syntax

'Declaration
ReadOnly Property Creator As XlCreator
    Get
'Usage
Dim instance As DataTable
Dim value As XlCreator

value = instance.Creator
XlCreator Creator { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCreator

Remarks

If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C.

The Creator property is designed to be used in Microsoft Excel for the Macintosh, where each application has a four-character creator code. For example, Microsoft Excel has the creator code XCEL.

See Also

Reference

DataTable Interface

DataTable Members

Microsoft.Office.Interop.Excel Namespace