OLEObject.OLEType Property

Gets the OLEObject type.

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 OLEType As Object
    Get
'Usage
Dim instance As OLEObject
Dim value As Object

value = instance.OLEType
public Object OLEType { get; }

Property Value

Type: System.Object
One of the following XlOLEType values: xlOLELink if the object is linked (it exists outside of the file), or xlOLEEmbed if the object is embedded (it is entirely contained within the file).

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace