Table of contents
TOC
折叠目录
展开目录

SharedWorkspace.Members 属性 (办公室)SharedWorkspace.Members Property (Office)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取一个SharedWorkspaceMembers集合,代表在当前共享工作区的成员的列表。只读的。Gets a SharedWorkspaceMembers collection that represents the list of members in the current shared workspace. Read-only.

请注意 开始使用 Microsoft Office 2010年,此对象或成员已否决,并不应使用。Note Beginning with Microsoft Office 2010, this object or member has been deprecated and should not be used.

语法Syntax

表达式成员expression. Members

表达式_一个表示SharedWorkspace对象的变量。_expression A variable that represents a SharedWorkspace object.

示例Example

下面的示例将列出当前共享工作区中的成员。The following example lists the members in the current shared workspace.

Dim swsMembers As Office.SharedWorkspaceMembers 
    Set swsMembers = ActiveWorkbook.SharedWorkspace.Members 
    MsgBox "There are " & swsMembers.Count & _ 
        " member(s) in the current shared workspace.", _ 
        vbInformation + vbOKOnly, _ 
        "Collection Information" 
    Set swsMembers = Nothing 

另请参阅See also

概念Concepts

SharedWorkspace 对象SharedWorkspace Object

其他资源Other resources

SharedWorkspace 对象成员SharedWorkspace Object Members

© 2018 Microsoft