SPWeb.GetFile 方法 (Guid)
Gets the file object with the specified identifier (ID).
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetFile ( _
uniqueId As Guid _
) As SPFile
用法
Dim instance As SPWeb
Dim uniqueId As Guid
Dim returnValue As SPFile
returnValue = instance.GetFile(uniqueId)
public SPFile GetFile(
Guid uniqueId
)
参数
uniqueId
类型:System.GuidThe ID of the file object.
返回值
类型:Microsoft.SharePoint.SPFile
The file object.
备注
This method calls the SPFile constructor with this and uniqueId.