PeopleManager.IsFollowing método
Verifica se o primeiro usuário especificado está acompanhando o segundo usuário especificado.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assemblies: Microsoft.SharePoint.Client.UserProfiles.Silverlight (em Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (em Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (em Microsoft.SharePoint.Client.UserProfiles.dll)
Sintaxe
'Declaração
Public Shared Function IsFollowing ( _
context As ClientRuntimeContext, _
possibleFollowerAccountName As String, _
possibleFolloweeAccountName As String _
) As ClientResult(Of Boolean)
'Uso
Dim context As ClientRuntimeContext
Dim possibleFollowerAccountName As String
Dim possibleFolloweeAccountName As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = PeopleManager.IsFollowing(context, _
possibleFollowerAccountName, possibleFolloweeAccountName)
public static ClientResult<bool> IsFollowing(
ClientRuntimeContext context,
string possibleFollowerAccountName,
string possibleFolloweeAccountName
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- possibleFollowerAccountName
Tipo: System.String
- possibleFolloweeAccountName
Tipo: System.String
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>