共用方式為


SPUserCollection.SchemaXmlEx property

取得指定欄位用來定義集合的清單結構描述。

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

Syntax

'宣告
Public ReadOnly Property SchemaXmlEx As String
    Get
'用途
Dim instance As SPUserCollection
Dim value As String

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

Property value

Type: System.String
Collaborative Application Markup Language 包含清單結構描述中的字串。

備註

SchemaXmlEx屬性會傳回類似下列連同 CAML 字串:

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

請參閱

參照

SPUserCollection class

SPUserCollection members

Microsoft.SharePoint namespace