Share via


SPGroupCollection.Xml - Propriété

Obtient les propriétés de la collection en tant que XML.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Xml As String
    Get
'Utilisation
Dim instance As SPGroupCollection
Dim value As String

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

Valeur de propriété

Type : System.String
Chaîne qui contient le code XML, comme suit :

<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>

Voir aussi

Référence

SPGroupCollection classe

SPGroupCollection - Membres

Microsoft.SharePoint - Espace de noms