Compartilhar via


_OLEObject.OLEType Property

Returns the OLE object type. Can be one of the following XlOLEType constants: xlOLELink or xlOLEEmbed. Returns xlOLELink if the object is linked (it exists outside of the file) or returns xlOLEEmbed if the object is embedded (it's entirely contained within the file). Read-only Object.

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

Syntax

'Declaration
ReadOnly Property OLEType As Object
    Get
'Usage
Dim instance As _OLEObject
Dim value As Object

value = instance.OLEType
Object OLEType { get; }

Property Value

Type: System.Object

See Also

Reference

_OLEObject Interface

_OLEObject Members

Microsoft.Office.Interop.Excel Namespace