共用方式為


SPGroup.Xml property

取得群組的內容當做 XML 字串。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Xml As String
    Get
'用途
Dim instance As SPGroup
Dim value As String

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

Property value

Type: System.String
字串,包含 XML,如下所示:

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

請參閱

參照

SPGroup class

SPGroup members

Microsoft.SharePoint namespace