获取由指定的文件名的附件。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Function GetByFileName ( _
fileName As String _
) As Attachment
用法
Dim instance As AttachmentCollection
Dim fileName As String
Dim returnValue As Attachment
returnValue = instance.GetByFileName(fileName)
public Attachment GetByFileName(
string fileName
)
参数
fileName
类型:System.String表示要检索的附件的文件名。
返回值
类型:Microsoft.SharePoint.Client.Attachment
附件。