SPUserCollection.SchemaXmlEx property

Gets a list schema that specifies fields used to define the collection.

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

Syntax

'Declaration
Public ReadOnly Property SchemaXmlEx As String
    Get
'Usage
Dim instance As SPUserCollection
Dim value As String

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

Property value

Type: System.String
A string in Collaborative Application Markup Language (CAML) schemas that contains the list schema.

Remarks

The SchemaXmlEx property returns a CAML string similar to the following:

<List ID="{900BA96F-F422-4B35-85BB-0140A015D6F4}" Title="UserInfo" 
   Name="{900BA96F-F422-4B35-85BB-0140A015D6F4}" Description="">
   <Fields>
      <Field ColName="tp_ID" DisplayName="ID" Type="Counter" Name="ID" 
         PrimaryKey="TRUE" ReadOnly="TRUE" /><Field ColName="tp_Title" 
            DisplayName="Full Name" 
         Type="Text" Name="Title" Required="FALSE" />
      <Field ColName="tp_Identifier" DisplayName="Login Name" 
         Type="Text" Name="Name" Required="TRUE" />
      <Field ColName="tp_Email" DisplayName="E-mail Address" 
         Type="Text" Name="Email" Required="FALSE" />
      </Fields>
      <RegionalSettings>
         <Locale>1033</Locale>
      </RegionalSettings>
</List>

See also

Reference

SPUserCollection class

SPUserCollection members

Microsoft.SharePoint namespace