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)


Public Sub GetFilePersonalizationInformation ( _
    url As String, _
    <OutAttribute> ByRef hasPersonalizedWebParts As Boolean, _
    <OutAttribute> ByRef fileLevel As SPFileLevel _
Dim instance As SPWeb
Dim url As String
Dim hasPersonalizedWebParts As Boolean
Dim fileLevel As SPFileLevel

instance.GetFilePersonalizationInformation(url, _
    hasPersonalizedWebParts, fileLevel)
public void GetFilePersonalizationInformation(
    string url,
    out bool hasPersonalizedWebParts,
    out SPFileLevel fileLevel


  • 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


SPWeb class

SPWeb members

Microsoft.SharePoint namespace