Share via


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 初版]

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