SPWeb.GetFilePersonalizationInformation 方法

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.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 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
    类型:System.String

    The fully qualified URL of the document.

  • hasPersonalizedWebParts
    类型:System.Boolean

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

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间