SPViewCollection.Item 属性 (Guid)

从集合中获取具有指定 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类索引器。

另请参阅

引用

SPViewCollection 类

SPViewCollection 成员

Item 重载

Microsoft.SharePoint 命名空间