SPViewCollection.Item property (Guid)
從集合中取得具有指定之 GUID 的檢視物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Default Property Item ( _
guid As Guid _
) As SPView
Get
'用途
Dim instance As SPViewCollection
Dim guid As Guid
Dim value As SPView
value = instance(guid)
public SPView this[
Guid guid
] { get; }
參數
guid
Type: System.Guid識別的 GUID。
Property value
Type: Microsoft.SharePoint.SPView
SPView 物件,表示檢視表。
備註
在 C# 中,這個屬性會是SPViewCollection類別的索引子。