ListViewWebPart.Flags property
NOTE: This API is now obsolete.
取得或設定的Microsoft.SharePoint.WebPartPages.ViewType列舉型別,指定要顯示哪些檢視的數字表示。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use IListWebPart.ViewFlags instead")> _
<WebPartStorageAttribute(Storage.None)> _
<RequiresDesignerPermissionAttribute> _
Public Property Flags As UInteger
Get
Set
'用途
Dim instance As ListViewWebPart
Dim value As UInteger
value = instance.Flags
instance.Flags = value
[ObsoleteAttribute("Use IListWebPart.ViewFlags instead")]
[WebPartStorageAttribute(Storage.None)]
[RequiresDesignerPermissionAttribute]
public uint Flags { get; set; }
Property value
Type: System.UInt32
不帶正負號的整數,指定此 Web 組件的顯示選項。
備註
Flags屬性是讀取/寫入。數字的值相當於Microsoft.SharePoint.WebPartPages.ViewType列舉型別的成員。