SPRoleDefinition 构造函数 (SPRoleDefinition)

通过复制另一个角色定义的权限初始化SPRoleDefinition类的新实例。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    def As SPRoleDefinition _
)
用法
Dim def As SPRoleDefinition

Dim instance As New SPRoleDefinition(def)
public SPRoleDefinition(
    SPRoleDefinition def
)

参数

另请参阅

引用

SPRoleDefinition 类

SPRoleDefinition 成员

SPRoleDefinition 重载

Microsoft.SharePoint 命名空间