SPWeb.GetFileOrFolderObject 方法
Retrieves a file or folder on the website with the specified URL.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetFileOrFolderObject ( _
strUrl As String _
) As Object
用法
Dim instance As SPWeb
Dim strUrl As String
Dim returnValue As Object
returnValue = instance.GetFileOrFolderObject(strUrl)
public Object GetFileOrFolderObject(
string strUrl
)
参数
strUrl
类型:System.StringThe URL of the file or folder.
返回值
类型:System.Object
The file or folder on the website with the specified URL.
备注
The URL that is passed to this method can be an absolute URL or server-relative URL.