ListViewWebPart.ViewGuid property
取得或設定在 [網頁組件中的 GUID,會使用SharePoint Foundation檢視。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<WebPartStorageAttribute(Storage.None)> _
<RequiresDesignerPermissionAttribute> _
Public Property ViewGuid As String
Get
Set
'用途
Dim instance As ListViewWebPart
Dim value As String
value = instance.ViewGuid
instance.ViewGuid = value
[WebPartStorageAttribute(Storage.None)]
[RequiresDesignerPermissionAttribute]
public string ViewGuid { get; set; }
Property value
Type: System.String
字串,包含以全部大寫的字元檢視的 GUID 和大括號 ({}) 括住。