SPWeb.GetFilePersonalizationInformation Method

Returns the file level of a specified document as output parameters and also returns a value that specifies whether the document has personalized Web Parts.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ShimmedTypeOutParam)> _
Public Sub GetFilePersonalizationInformation ( _
    url As String, _
    <OutAttribute> ByRef hasPersonalizedWebParts As Boolean, _
    <OutAttribute> ByRef fileLevel As SPFileLevel _
)
'Usage
Dim instance As SPWeb
Dim url As String
Dim hasPersonalizedWebParts As Boolean
Dim fileLevel As SPFileLevel

instance.GetFilePersonalizationInformation(url, _
    hasPersonalizedWebParts, fileLevel)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ShimmedTypeOutParam)]
public void GetFilePersonalizationInformation(
    string url,
    out bool hasPersonalizedWebParts,
    out SPFileLevel fileLevel
)

Parameters

  • url
    Type: System.String

    The fully qualified URL of the document.

  • hasPersonalizedWebParts
    Type: System.Boolean

    true if the document includes personalized Web Parts; otherwise, false.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace