SPViewCollection.Item 属性 (String)

从集合中获取具有指定名称的 view 对象。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    strTitle As String _
) As SPView
    Get
用法
Dim instance As SPViewCollection
Dim strTitle As String
Dim value As SPView

value = instance(strTitle)
public SPView this[
    string strTitle
] { get; }

参数

  • strTitle
    类型:System.String

    一个包含视图的名称的字符串。

属性值

类型:Microsoft.SharePoint.SPView
SPView 对象代表的视图。

另请参阅

引用

SPViewCollection 类

SPViewCollection 成员

Item 重载

Microsoft.SharePoint 命名空间