PeopleManager.AmIFollowedBy 方法
會檢查指定的使用者是否追蹤目前的使用者。
命名空間: Microsoft.SharePoint.Client.UserProfiles
組件: Microsoft.SharePoint.Client.UserProfiles.Silverlight (在 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone (在 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles (在 Microsoft.SharePoint.Client.UserProfiles.dll 中)
語法
'宣告
Public Function AmIFollowedBy ( _
accountName As String _
) As ClientResult(Of Boolean)
'用途
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.AmIFollowedBy(accountName)
public ClientResult<bool> AmIFollowedBy(
string accountName
)
參數
- accountName
類型:System.String
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Boolean>