GroupCollection.GetByName 方法

Returns a cross-site group from the collection based on the name of the group.

命名空间:  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 GetByName ( _
    name As String _
) As Group
用法
Dim instance As GroupCollection
Dim name As String
Dim returnValue As Group

returnValue = instance.GetByName(name)
public Group GetByName(
    string name
)

参数

返回值

类型:Microsoft.SharePoint.Client.Group
SPGroup object that represents the group.

备注

The name parameter value corresponds to the group name for the cross-site group, which is contained in the Microsoft.SharePoint.SPMember class.

另请参阅

引用

GroupCollection 类

GroupCollection 成员

Microsoft.SharePoint.Client 命名空间