SocialActorInfo.AccountName 属性

获取或设置操作者的帐户名称。适用于用户。

命名空间:  Microsoft.SharePoint.Client.Social
程序集:   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 Property AccountName As String
    Get
    Set
用法
Dim instance As SocialActorInfo
Dim value As String

value = instance.AccountName

instance.AccountName = value
public string AccountName { get; set; }

属性值

类型:System.String

备注

仅当Id为空,并且ActorType是User时,此属性才有效。

另请参阅

引用

SocialActorInfo 类

SocialActorInfo 成员

Microsoft.SharePoint.Client.Social 命名空间

其他资源

如何:使用 SharePoint 2013 中的 .NET 客户端对象模型关注好友