从集合中获取具有指定 GUID view 对象。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Guid一个标识视图的 GUID。
属性值
类型:Microsoft.SharePoint.SPView
SPView 对象代表的视图。
备注
在 C# 中,此属性是SPViewCollection类索引器。