共用方式為


ControlSite.OLEType Property

Gets the ControlSite type.

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 OLEType As Object
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

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace