SPListTemplate.SchemaXml property
取得描述清單定義的結構描述。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property SchemaXml As String
Get
'用途
Dim instance As SPListTemplate
Dim value As String
value = instance.SchemaXml
public string SchemaXml { get; }
Property value
Type: System.String
共同作業應用程式標記語言包含結構描述中的字串。
備註
SchemaXml屬性會傳回連同 CAML 片段,如下所示:
<ListTemplate Name="gridlist" DisplayName="Custom List in Datasheet
View" Type="120" BaseType="0" OnQuickLaunch="TRUE" SecurityBits="11"
Description="Create a custom list when you want to specify your own
columns. The list opens in a spreadsheet-like environment for
convenient data entry, editing, and formatting. It requires a
Windows SharePoint Services-compatible list datasheet control and
ActiveX control support." Image="/_layouts/images/itdatash.gif"/>
這個屬性不適用於清單範本。