Поделиться через


OleItem Class

OLE Link Item.When the object is serialized out as xml, its qualified name is x:oleItem.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.OleItem

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Декларация
Public Class OleItem _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As OleItem
public class OleItem : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

18.14.9 oleItem (Object Link Item)

This element represents a single link within the object referenced by the parent element.

Parent Elements

oleItems (§18.14.10)

Attributes

Description

advise (Advise)

Set to true if the linked object should notify the application when the external data changes. Default value is false.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

icon (Icon)

Set to true if the linked object is represented by an icon.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

name (Object Name)

The linked object's name.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

preferPic (Object is an Image)

Set to true if the linked object is represented by an image.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element's content model (CT_OleItem) is located in §A.2. end note]

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OleItem Members

DocumentFormat.OpenXml.Spreadsheet Namespace