Permission.Count 属性

定义

获取与窗体关联的对象数 UserPermissionObject

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

属性值

与窗体关联的对象数 UserPermissionObject

示例

在以下示例中,将使用 Count 属性显示与表单关联的用户的数目。

_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisXDocument.UI.Alert(thisDoc.Permission.Count.ToString());
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisXDocument.UI.Alert(thisDoc.Permission.Count.ToString())

适用于