Поделиться через


Свойство SPGroupCollection.Xml

Получает свойства коллекции в виде XML.

Пространство имен:  Microsoft.SharePoint
Сборка:  Microsoft.SharePoint (в Microsoft.SharePoint.dll)

Синтаксис

'Декларация
Public ReadOnly Property Xml As String
    Get
'Применение
Dim instance As SPGroupCollection
Dim value As String

value = instance.Xml
public string Xml { get; }

Значение свойства

Тип: System.String
Строка, содержащая XML, как показано ниже:

<Groups>
  <Group ID="4" Name="Team Site Visitors" Description="Use this group
    to give people read permissions to the SharePoint site: Team Site" 
    OwnerID="3" OwnerIsUser="False" />
  <Group ID="8" Name="MyWebsite Members" Description="Use this group to 
    give people contribute permissions to the SharePoint site:
    MyWebsite" OwnerID="7" OwnerIsUser="False" />
  <Group ID="7" Name="MyWebsite Owners" Description="Use this group to
    give people full control permissions to the SharePoint site:
    MyWebsite" OwnerID="7" OwnerIsUser="False" />
</Groups>

См. также

Справочные материалы

SPGroupCollection класс

Элементы SPGroupCollection

Пространство имен Microsoft.SharePoint