次の方法で共有


NonVisualDrawingProperties.Id Property

Unique Identifier.Represents the attribte in schema: id

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

Syntax

'宣言
<SchemaAttrAttribute(, "id")> _
Public Property Id As UInt32Value
    Get
    Set
'使用
Dim instance As NonVisualDrawingProperties
Dim value As UInt32Value

value = instance.Id

instance.Id = value
[SchemaAttrAttribute(, "id")]
public UInt32Value Id { get; set; }

Property Value

Type: DocumentFormat.OpenXml.UInt32Value
Returns UInt32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a unique identifier for the current DrawingML object within the current document. This ID may be used to assist in uniquely identifying this object so that it can be referred to by other parts of the document.

If multiple objects within the same document share the same id attribute value, then the document shall be considered non-conformant.

Consider a DrawingML object defined as follows:

<… id="10" … >

The id attribute has a value of 10, which is the unique identifier for this DrawingML object.

The possible values for this attribute are defined by the ST_DrawingElementId simple type.

See Also

Reference

NonVisualDrawingProperties Class

NonVisualDrawingProperties Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace