Share via


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)

Syntax

'Declaration
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)
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