Bagikan melalui


OLEObject.Creator Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property Creator As XlCreator
'Usage
Dim instance As OLEObject 
Dim value As XlCreator 

value = instance.Creator
public XlCreator Creator { get; }
public:
property XlCreator Creator {
    XlCreator get ();
}
public function get Creator () : XlCreator

Property Value

Type: XlCreator
A 32-bit integer that indicates the application in which the OLEObject 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

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace