Compartilhar via


SPGroup.Xml Property

Gets the properties of the group as an XML string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Xml As String
    Get
'Usage
Dim instance As SPGroup
Dim value As String

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

Property Value

Type: System.String
A string that contains the XML, as follows:

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

See Also

Reference

SPGroup Class

SPGroup Members

Microsoft.SharePoint Namespace