共用方式為


ControlSite.Creator Property

Gets a value that indicates the application in which the ControlSite was created.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property Creator As XlCreator
XlCreator Creator { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCreator
A 32-bit integer that indicates the application in which the ControlSite was created. If the object was created in Microsoft Office Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C, or the value xlCreatorCode.

Remarks

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

.NET Framework Security

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace