共用方式為


SPList.GetPropertiesXmlForUncustomizedViews method

會傳回未自訂的檢視] 清單中,包括 GUID、 類型、 顯示名稱、 URL 及基底檢視識別碼的屬性。

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

Syntax

'宣告
Public Function GetPropertiesXmlForUncustomizedViews As String
'用途
Dim instance As SPList
Dim returnValue As String

returnValue = instance.GetPropertiesXmlForUncustomizedViews()
public string GetPropertiesXmlForUncustomizedViews()

傳回值

Type: System.String
A string that contains a Collaborative Application Markup Language fragment that specifies the properties.

備註

GetPropertiesXmlForUncustomizedViews屬性會傳回下列形式的字串。

<View Name="{7591FC7D-8304-42C7-9456-09F4241AC6F8}" 
   Type="HTML" DisplayName="View_Name" 
   Url="Lists/List_Title/File_Name.aspx" 
   BaseViewID="1" />

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace