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.StringThe fully qualified URL of the document.
hasPersonalizedWebParts
类型:System.Booleantrue if the document includes personalized Web Parts; otherwise, false.
fileLevel
类型:Microsoft.SharePoint.SPFileLevelAn SPFileLevel value that specifies the file level.