次の方法で共有


SPListItem.FirstUniqueAncestorSecurableObject property

Retrieves the first unique ancestor if it has unique role assignments otherwise returns the first parent object (folder, list, or Web site) that has unique role assignments.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property FirstUniqueAncestorSecurableObject As SPSecurableObject
    Get
'Usage
Dim instance As SPListItem
Dim value As SPSecurableObject

value = instance.FirstUniqueAncestorSecurableObject
public override SPSecurableObject FirstUniqueAncestorSecurableObject { get; }

Property value

Type: Microsoft.SharePoint.SPSecurableObject
A SPSecurableObject that represents the first unique ancestor of this [Microsoft.SharePoint.SPListItem] object.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace