Share via


Users Class

User List. It is the root element of WorkbookUserDataPart.When the object is serialized out as xml, its qualified name is x:users.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Spreadsheet.Users

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(UserInfo))> _
Public Class Users _
    Inherits OpenXmlPartRootElement
'使用
Dim instance As Users
[ChildElementInfoAttribute(typeof(UserInfo))]
public class Users : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • UserInfo <x:userInfo>

[ISO/IEC 29500-1 初版]

18.11.2.2 users (User List)

This element represents a list of users who currently have this shared workbook open. This list does not include any users who have the workbook open in Read-Only mode.

Parent Elements

Root element of SpreadsheetML Shared Workbook User Data part

Child Elements

Subclause

userInfo (User Information)

§18.11.2.1

Attributes

Description

count (Active User Count)

Number of users who currently have this shared workbook open.

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

[Note: The W3C XML Schema definition of this element's content model (CT_Users) 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

Users Members

DocumentFormat.OpenXml.Spreadsheet Namespace