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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.